mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 14:50:35 +00:00
fix: 修复创建资产时添加账号是否立即推送判断条件
This commit is contained in:
parent
b7cd39d373
commit
4c49d0b32d
@ -151,7 +151,8 @@ export default {
|
||||
},
|
||||
push_now: {
|
||||
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