mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
use users-three
icon for Groups
This commit is contained in:
parent
d9ada65592
commit
9f72b3e12d
6 changed files with 7 additions and 7 deletions
|
@ -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: {
|
||||||
|
|
|
@ -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({
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
})),
|
})),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
})),
|
})),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue