hide acc menu button in notifications

This commit is contained in:
Freeplay 2023-06-14 14:57:16 -04:00
parent ca1581a494
commit 8b201fddbd
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<button class="menu _button" @click.stop="menu" v-tooltip="i18n.ts.menu"> <button v-if="!hideMenu" class="menu _button" @click.stop="menu" v-tooltip="i18n.ts.menu">
<i class="ph-dots-three-outline ph-bold ph-lg"></i> <i class="ph-dots-three-outline ph-bold ph-lg"></i>
</button> </button>
<button <button
@ -74,6 +74,7 @@ const props = withDefaults(
user: Misskey.entities.UserDetailed; user: Misskey.entities.UserDetailed;
full?: boolean; full?: boolean;
large?: boolean; large?: boolean;
hideMenu?: boolean;
}>(), }>(),
{ {
full: false, full: false,

View File

@ -219,6 +219,7 @@
<MkFollowButton <MkFollowButton
:user="notification.user" :user="notification.user"
:full="true" :full="true"
:hideMenu="true"
/></div /></div
></span> ></span>
<span <span