mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
fix(ui): remove disable button condition
This commit is contained in:
parent
a0d7431153
commit
859cfea44e
@ -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>
|
||||
|
@ -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',
|
||||
|
@ -69,7 +69,6 @@
|
||||
icon
|
||||
class="mr-1"
|
||||
@click="askDeleteItem(item.id)"
|
||||
:disabled="item.id === userId"
|
||||
>
|
||||
<v-icon>mdi-delete</v-icon>
|
||||
</v-btn>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user