From 859cfea44ea5228aaf8ef61df3b9de69d69207b0 Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Sun, 29 Sep 2024 13:14:04 +0500 Subject: [PATCH] fix(ui): remove disable button condition --- web/src/App.vue | 2 +- web/src/lang/en.js | 3 +-- web/src/views/Users.vue | 1 - web/src/views/project/Environment.vue | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/web/src/App.vue b/web/src/App.vue index dc2ef166..7fcec92f 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -376,7 +376,7 @@ - admin + {{ $i18n.t('admin') }} diff --git a/web/src/lang/en.js b/web/src/lang/en.js index 8dd599ef..cafd4071 100644 --- a/web/src/lang/en.js +++ b/web/src/lang/en.js @@ -38,7 +38,7 @@ export default { youHaveReadonlyAccess: 'You have read-only access', taskTemplates: 'Task Templates', inventory: 'Inventory', - environment: 'Environment', + environment: 'Environment Variables', keyStore: 'Key Store', repositories: 'Repositories', darkMode: 'Dark Mode', @@ -65,7 +65,6 @@ export default { addView: 'Add view', editEnvironment: 'Edit Environment', deleteEnvironment: 'Delete environment', - environment2: 'Environment', newEnvironment: 'New Environment', environmentName: 'Environment Name', extraVariables: 'Extra variables', diff --git a/web/src/views/Users.vue b/web/src/views/Users.vue index 70e03c6f..a80e249d 100644 --- a/web/src/views/Users.vue +++ b/web/src/views/Users.vue @@ -69,7 +69,6 @@ icon class="mr-1" @click="askDeleteItem(item.id)" - :disabled="item.id === userId" > mdi-delete diff --git a/web/src/views/project/Environment.vue b/web/src/views/project/Environment.vue index db78a585..661c09f9 100644 --- a/web/src/views/project/Environment.vue +++ b/web/src/views/project/Environment.vue @@ -35,7 +35,7 @@ - {{ $t('environment2') }} + {{ $t('environment') }}