use users-three icon for Groups

This commit is contained in:
ThatOneCalculator 2022-11-07 12:29:56 -08:00
parent d9ada65592
commit 9f72b3e12d
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;