Skip to content

Commit d83eb9c

Browse files
author
Lasim
committed
refactor: remove action button from empty credentials state and clean up related text
1 parent 6742249 commit d83eb9c

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

services/frontend/src/i18n/locales/en/credentials.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ export default {
103103
},
104104
empty: {
105105
title: 'No credentials yet',
106-
description: 'Get started by adding your first cloud provider credential',
107-
action: 'Add First Credential'
106+
description: 'Get started by adding your first cloud provider credential'
108107
},
109108
detail: {
110109
title: 'Credential Details',

services/frontend/src/views/Credentials.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -318,14 +318,6 @@ onUnmounted(() => {
318318
<div class="space-y-4">
319319
<h3 class="text-lg font-medium">{{ t('credentials.empty.title') }}</h3>
320320
<p class="text-muted-foreground">{{ t('credentials.empty.description') }}</p>
321-
<Button
322-
v-if="canCreateCredentials"
323-
@click="showAddModal = true"
324-
class="flex items-center gap-2"
325-
>
326-
<Plus class="h-4 w-4" />
327-
{{ t('credentials.empty.action') }}
328-
</Button>
329321
</div>
330322
</div>
331323

0 commit comments

Comments
 (0)