Fixup ui bug

This commit is contained in:
vishesh92 2026-02-27 17:37:02 +05:30
parent 949c00e55d
commit 108750352c
No known key found for this signature in database
GPG Key ID: 4E395186CBFA790B
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export default {
name: 'kms',
title: 'label.kms',
icon: 'hdd-outlined',
show: (record, store) => {
show: () => {
return ['Admin'].includes(store.getters.userInfo.roletype) || store.getters.features.hashsmprofiles
},
children: [
@ -160,7 +160,7 @@ export default {
title: 'label.hsm.profile',
icon: 'safety-outlined',
permission: ['listHSMProfiles'],
show: (record, route, user) => { return ['Admin'].includes(user.roletype) },
show: () => { return ['Admin'].includes(store.getters.userInfo.roletype) },
resourceType: 'HSMProfile',
columns: () => {
const fields = ['name', 'enabled']