use users-three icon for Groups

This commit is contained in:
ThatOneCalculator 2022-11-07 12:29:56 -08:00
parent 47e23b5be7
commit 972a6a10aa
6 changed files with 7 additions and 7 deletions

View File

@ -59,7 +59,7 @@ export const navbarItemDef = reactive({
/* /*
groups: { groups: {
title: 'groups', title: 'groups',
icon: 'ph-users-bold ph-lg', icon: 'ph-users-three-bold ph-lg',
show: computed(() => $i != null), show: computed(() => $i != null),
to: '/my/groups', to: '/my/groups',
}, },
@ -99,7 +99,7 @@ export const navbarItemDef = reactive({
}, },
groups: { groups: {
title: 'groups', title: 'groups',
icon: 'ph-users-bold ph-lg', icon: 'ph-users-three-bold ph-lg',
to: '/my/groups', to: '/my/groups',
}, },
ui: { ui: {

View File

@ -77,7 +77,7 @@ const headerTabs = $computed(() => [{
}, { }, {
key: 'groups', key: 'groups',
title: i18n.ts._messaging.groups, title: i18n.ts._messaging.groups,
icon: 'ph-users-bold ph-lg', icon: 'ph-users-three-bold ph-lg',
}]); }]);
definePageMetadata({ definePageMetadata({

View File

@ -287,7 +287,7 @@ definePageMetadata(computed(() => !fetching ? user ? {
avatar: user, avatar: user,
} : { } : {
title: group?.name, title: group?.name,
icon: 'ph-users-bold ph-lg', icon: 'ph-users-three-bold ph-lg',
} : null)); } : null));
</script> </script>

View File

@ -123,7 +123,7 @@ async function deleteGroup() {
definePageMetadata( definePageMetadata(
computed(() => ({ computed(() => ({
title: i18n.ts.members, title: i18n.ts.members,
icon: "ph-users-bold ph-lg", icon: "ph-users-three-bold ph-lg",
})), })),
); );

View File

@ -60,7 +60,7 @@ const headerActions = $computed(() => [
definePageMetadata( definePageMetadata(
computed(() => ({ computed(() => ({
title: i18n.ts.groups, title: i18n.ts.groups,
icon: "ph-users-bold ph-lg", icon: "ph-users-three-bold ph-lg",
})), })),
); );

View File

@ -180,7 +180,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
text: i18n.ts.addToList, text: i18n.ts.addToList,
action: pushList, action: pushList,
}, meId !== user.id ? { }, meId !== user.id ? {
icon: 'ph-users-bold ph-lg', icon: 'ph-users-three-bold ph-lg',
text: i18n.ts.inviteToGroup, text: i18n.ts.inviteToGroup,
action: inviteGroup, action: inviteGroup,
} : undefined] as any; } : undefined] as any;