diff --git a/ui/src/config/section/event.js b/ui/src/config/section/event.js index 9dab6964729..e4e85327552 100644 --- a/ui/src/config/section/event.js +++ b/ui/src/config/section/event.js @@ -45,9 +45,7 @@ export default { ids: { value: (record) => { return record.id } } - }, - show: (record, store) => { return !['User'].includes(store.userInfo.roletype) }, - groupShow: (record, store) => { return !['User'].includes(store.userInfo.roletype) } + } }, { api: 'deleteEvents', @@ -64,9 +62,7 @@ export default { ids: { value: (record) => { return record.id } } - }, - show: (record, store) => { return !['User'].includes(store.userInfo.roletype) }, - groupShow: (record, store) => { return !['User'].includes(store.userInfo.roletype) } + } } ] }