mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 07:01:26 +00:00
Merge pull request #2738 from jumpserver/pr@dev@automation_is_active
perf: automation is active
This commit is contained in:
commit
d6f0bcdb16
@ -34,7 +34,7 @@ export default {
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexection')
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexection') || !this.object.is_active
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
|
@ -34,7 +34,7 @@ export default {
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexection')
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexection') || !this.object.is_active
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user