fix(ui): remove disable button condition

This commit is contained in:
Denis Gukov 2024-09-29 13:14:04 +05:00
parent a0d7431153
commit 859cfea44e
4 changed files with 3 additions and 5 deletions

View File

@ -376,7 +376,7 @@
</v-list-item-content>
<v-list-item-action>
<v-chip color="red" v-if="user.admin" small>admin</v-chip>
<v-chip color="red" v-if="user.admin" small>{{ $i18n.t('admin') }}</v-chip>
</v-list-item-action>
</v-list-item>
</template>

View File

@ -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',

View File

@ -69,7 +69,6 @@
icon
class="mr-1"
@click="askDeleteItem(item.id)"
:disabled="item.id === userId"
>
<v-icon>mdi-delete</v-icon>
</v-btn>

View File

@ -35,7 +35,7 @@
<v-toolbar flat >
<v-app-bar-nav-icon @click="showDrawer()"></v-app-bar-nav-icon>
<v-toolbar-title>{{ $t('environment2') }}</v-toolbar-title>
<v-toolbar-title>{{ $t('environment') }}</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn
color="primary"