fix: 修复创建资产时添加账号是否立即推送判断条件

This commit is contained in:
“huailei000” 2023-02-08 19:58:05 +08:00 committed by huailei
parent b7cd39d373
commit 4c49d0b32d

View File

@ -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
}
}
},