From 9f72b3e12d019b94ecd61b55605b6b3036ba446d Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 7 Nov 2022 12:29:56 -0800 Subject: [PATCH] use `users-three` icon for Groups --- packages/client/src/navbar.ts | 4 ++-- packages/client/src/pages/messaging/index.vue | 2 +- packages/client/src/pages/messaging/messaging-room.vue | 2 +- packages/client/src/pages/my-groups/group.vue | 2 +- packages/client/src/pages/my-groups/index.vue | 2 +- packages/client/src/scripts/get-user-menu.ts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/client/src/navbar.ts b/packages/client/src/navbar.ts index 41276d053..308f3f96b 100644 --- a/packages/client/src/navbar.ts +++ b/packages/client/src/navbar.ts @@ -59,7 +59,7 @@ export const navbarItemDef = reactive({ /* groups: { title: 'groups', - icon: 'ph-users-bold ph-lg', + icon: 'ph-users-three-bold ph-lg', show: computed(() => $i != null), to: '/my/groups', }, @@ -99,7 +99,7 @@ export const navbarItemDef = reactive({ }, groups: { title: 'groups', - icon: 'ph-users-bold ph-lg', + icon: 'ph-users-three-bold ph-lg', to: '/my/groups', }, ui: { diff --git a/packages/client/src/pages/messaging/index.vue b/packages/client/src/pages/messaging/index.vue index 4a3145fea..965ebb0b6 100644 --- a/packages/client/src/pages/messaging/index.vue +++ b/packages/client/src/pages/messaging/index.vue @@ -77,7 +77,7 @@ const headerTabs = $computed(() => [{ }, { key: 'groups', title: i18n.ts._messaging.groups, - icon: 'ph-users-bold ph-lg', + icon: 'ph-users-three-bold ph-lg', }]); definePageMetadata({ diff --git a/packages/client/src/pages/messaging/messaging-room.vue b/packages/client/src/pages/messaging/messaging-room.vue index 8ad4d8dfa..3b344b819 100644 --- a/packages/client/src/pages/messaging/messaging-room.vue +++ b/packages/client/src/pages/messaging/messaging-room.vue @@ -287,7 +287,7 @@ definePageMetadata(computed(() => !fetching ? user ? { avatar: user, } : { title: group?.name, - icon: 'ph-users-bold ph-lg', + icon: 'ph-users-three-bold ph-lg', } : null)); diff --git a/packages/client/src/pages/my-groups/group.vue b/packages/client/src/pages/my-groups/group.vue index 6cc1eeb14..33754e0b2 100644 --- a/packages/client/src/pages/my-groups/group.vue +++ b/packages/client/src/pages/my-groups/group.vue @@ -123,7 +123,7 @@ async function deleteGroup() { definePageMetadata( computed(() => ({ title: i18n.ts.members, - icon: "ph-users-bold ph-lg", + icon: "ph-users-three-bold ph-lg", })), ); diff --git a/packages/client/src/pages/my-groups/index.vue b/packages/client/src/pages/my-groups/index.vue index 6c28621a6..71ff1f92c 100644 --- a/packages/client/src/pages/my-groups/index.vue +++ b/packages/client/src/pages/my-groups/index.vue @@ -60,7 +60,7 @@ const headerActions = $computed(() => [ definePageMetadata( computed(() => ({ title: i18n.ts.groups, - icon: "ph-users-bold ph-lg", + icon: "ph-users-three-bold ph-lg", })), ); diff --git a/packages/client/src/scripts/get-user-menu.ts b/packages/client/src/scripts/get-user-menu.ts index 0846053a1..5f23354ac 100644 --- a/packages/client/src/scripts/get-user-menu.ts +++ b/packages/client/src/scripts/get-user-menu.ts @@ -180,7 +180,7 @@ export function getUserMenu(user, router: Router = mainRouter) { text: i18n.ts.addToList, action: pushList, }, meId !== user.id ? { - icon: 'ph-users-bold ph-lg', + icon: 'ph-users-three-bold ph-lg', text: i18n.ts.inviteToGroup, action: inviteGroup, } : undefined] as any;