mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +01:00
fix
This commit is contained in:
parent
f75a0b3473
commit
ed4baf9aed
1 changed files with 6 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button v-if="isMobile && mainRouter.currentRoute.value.name === 'index'" ref="postButton" class="postButton button post _button" @click="os.post()"><i class="ph-pencil ph-bold ph-lg"></i></button>
|
<button v-if="isMobile && mainRouter.currentRoute.value.name === 'index'" ref="postButton" class="postButton button post _button" @click="os.post()"><i class="ph-pencil ph-bold ph-lg"></i></button>
|
||||||
<button v-if="isMobile && mainRouter.currentRoute.value.name === 'messaging'" ref="postButton" class="postButton button post _button" @click="messagingStart()"><i class="ph-user-plus ph-bold ph-lg"></i></button>
|
<button v-if="isMobile && mainRouter.currentRoute.value.name === 'messaging'" ref="postButton" class="postButton button post _button" @click="messagingStart"><i class="ph-user-plus ph-bold ph-lg"></i></button>
|
||||||
|
|
||||||
<transition :name="$store.state.animation ? 'menuDrawer-back' : ''">
|
<transition :name="$store.state.animation ? 'menuDrawer-back' : ''">
|
||||||
<div
|
<div
|
||||||
|
@ -184,6 +184,10 @@ function messagingStart(ev) {
|
||||||
text: i18n.ts.messagingWithGroup,
|
text: i18n.ts.messagingWithGroup,
|
||||||
icon: 'ph-users-three ph-bold ph-lg',
|
icon: 'ph-users-three ph-bold ph-lg',
|
||||||
action: () => { startGroup(); },
|
action: () => { startGroup(); },
|
||||||
|
}, {
|
||||||
|
text: i18n.ts.manageGroups,
|
||||||
|
icon: 'ph-user-circle-gear ph-bold ph-lg',
|
||||||
|
action: () => { mainRouter.push('/my/groups'); },
|
||||||
}], ev.currentTarget ?? ev.target);
|
}], ev.currentTarget ?? ev.target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,7 +216,7 @@ async function startGroup(): void {
|
||||||
})),
|
})),
|
||||||
});
|
});
|
||||||
if (canceled) return;
|
if (canceled) return;
|
||||||
router.push(`/my/messaging/group/${group.id}`);
|
mainRouter.push(`/my/messaging/group/${group.id}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
Loading…
Reference in a new issue