fix: 修改组件监控权限控制

This commit is contained in:
Jiangjie.Bai
2022-03-17 11:18:36 +08:00
committed by Jiangjie.Bai
parent 0f4cb3b916
commit b63d187f13

View File

@@ -51,7 +51,7 @@ export default {
title: this.$t('xpack.ComponentMonitor'),
name: 'Monitor',
hidden: () => {
return !(this.$hasPerm('terminal.view_terminal') && this.$store.getters.hasValidLicense)
return !(this.$hasPerm('terminal.view_status') && this.$store.getters.hasValidLicense)
}
}
]