mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
better invite icon, fix conditional
This commit is contained in:
parent
fa21a9e489
commit
7019968a3a
1 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ const menuDef = $computed(() => [{
|
||||||
action: lookup,
|
action: lookup,
|
||||||
}, ...(instance.disableRegistration ? [{
|
}, ...(instance.disableRegistration ? [{
|
||||||
type: 'button',
|
type: 'button',
|
||||||
icon: 'ph-user-bold ph-lg',
|
icon: 'ph-user-plus-bold ph-lg',
|
||||||
text: i18n.ts.invite,
|
text: i18n.ts.invite,
|
||||||
action: invite,
|
action: invite,
|
||||||
}] : [])],
|
}] : [])],
|
||||||
|
@ -147,7 +147,7 @@ const menuDef = $computed(() => [{
|
||||||
to: '/admin/abuses',
|
to: '/admin/abuses',
|
||||||
active: currentPage?.route.name === 'abuses',
|
active: currentPage?.route.name === 'abuses',
|
||||||
}],
|
}],
|
||||||
}, ...(instance.disableRegistration ? [{
|
}, ...($i?.isAdmin ? [{
|
||||||
title: i18n.ts.settings,
|
title: i18n.ts.settings,
|
||||||
items: [{
|
items: [{
|
||||||
icon: 'ph-gear-six-bold ph-lg',
|
icon: 'ph-gear-six-bold ph-lg',
|
||||||
|
|
Loading…
Reference in a new issue