mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-12 03:51:57 +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: {
|
attrs: {
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
||||||
disabled: !this.$hasPerm('accounts.add_changesecretexection')
|
disabled: !this.$hasPerm('accounts.add_changesecretexection') || !this.object.is_active
|
||||||
},
|
},
|
||||||
callbacks: {
|
callbacks: {
|
||||||
click: function() {
|
click: function() {
|
||||||
|
@ -34,7 +34,7 @@ export default {
|
|||||||
attrs: {
|
attrs: {
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
||||||
disabled: !this.$hasPerm('accounts.add_changesecretexection')
|
disabled: !this.$hasPerm('accounts.add_changesecretexection') || !this.object.is_active
|
||||||
},
|
},
|
||||||
callbacks: {
|
callbacks: {
|
||||||
click: function() {
|
click: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user