fix(web): Registration key actions

This commit is contained in:
Zack Spear
2023-09-28 15:40:06 -07:00
committed by Zack Spear
parent c299a794b2
commit 70fd31afb6

View File

@@ -147,13 +147,13 @@ const items = computed((): RegistrationItemProps[] => {
componentProps: { t: t },
}] : []),
// filter out renew action and only display other key actions
...(!keyActions.value?.filter(action => !['renew'].includes(action.name)) ? [{
...(keyActions.value?.filter(action => !['renew'].includes(action.name)) ? [{
label: t('License key actions'),
component: KeyActions,
componentProps: {
filterOut: ['renew'],
t,
},
},
}]
: []),
];