mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
Merge branch 'v4' of github.com:jumpserver/lina into v4
This commit is contained in:
@@ -258,7 +258,7 @@ export default {
|
||||
title: this.$t('Test'),
|
||||
can: ({ row }) =>
|
||||
!this.$store.getters.currentOrgIsRoot &&
|
||||
this.$hasPerm('accounts.change_account') &&
|
||||
this.$hasPerm('accounts.verify_account') &&
|
||||
row.asset['auto_config'].ansible_enabled &&
|
||||
row.asset['auto_config'].ping_enabled,
|
||||
callback: ({ row }) => {
|
||||
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
isDisabled(item) {
|
||||
return item.edition.value === 'enterprise' && !this.hasValidLicense
|
||||
return item.edition?.value === 'enterprise' && !this.hasValidLicense
|
||||
},
|
||||
capitalize(str) {
|
||||
return str.charAt(0).toUpperCase() + str.slice(1)
|
||||
|
||||
Reference in New Issue
Block a user