From 6e9c62a1a2e6218e78d818e93effafc528c1cd26 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 12 Dec 2022 10:55:01 -0800 Subject: [PATCH] better invite icon, fix conditional --- packages/client/src/pages/admin/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/pages/admin/index.vue b/packages/client/src/pages/admin/index.vue index 138cd3bf62..a55ac44b1f 100644 --- a/packages/client/src/pages/admin/index.vue +++ b/packages/client/src/pages/admin/index.vue @@ -95,7 +95,7 @@ const menuDef = $computed(() => [{ action: lookup, }, ...(instance.disableRegistration ? [{ type: 'button', - icon: 'ph-user-bold ph-lg', + icon: 'ph-user-plus-bold ph-lg', text: i18n.ts.invite, action: invite, }] : [])], @@ -147,7 +147,7 @@ const menuDef = $computed(() => [{ to: '/admin/abuses', active: currentPage?.route.name === 'abuses', }], -}, ...(instance.disableRegistration ? [{ +}, ...($i?.isAdmin ? [{ title: i18n.ts.settings, items: [{ icon: 'ph-gear-six-bold ph-lg',