mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 15:11:16 +00:00
fix: 修复创建资产时添加账号是否立即推送判断条件
This commit is contained in:
parent
b7cd39d373
commit
4c49d0b32d
@ -151,7 +151,8 @@ export default {
|
|||||||
},
|
},
|
||||||
push_now: {
|
push_now: {
|
||||||
hidden: () => {
|
hidden: () => {
|
||||||
return !this.iPlatform.automation?.['push_account_enabled']
|
const automation = this.iPlatform.automation || {}
|
||||||
|
return !automation.push_account_enabled || !automation.ansible_enabled
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user