mirror of
https://github.com/unraid/api.git
synced 2026-01-06 16:49:49 -06:00
fix(web): Registration key actions
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
}]
|
||||
: []),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user