hide separator if not admin
This commit is contained in:
@@ -78,6 +78,7 @@ function onActionMenu(backup, event) {
|
||||
action: onDownloadConfig.bind(null, backup),
|
||||
}, {
|
||||
separator: true,
|
||||
visible: props.app.accessLevel === 'admin',
|
||||
}, {
|
||||
icon: 'fa-solid fa-clone',
|
||||
label: t('app.backups.backups.cloneTooltip'),
|
||||
|
||||
Reference in New Issue
Block a user