summaryrefslogtreecommitdiff
path: root/packages/client/src/components/note-detailed.vue
diff options
context:
space:
mode:
authorfutchitwo <74236683+futchitwo@users.noreply.github.com>2022-06-18 18:27:09 +0900
committerGitHub <noreply@github.com>2022-06-18 18:27:09 +0900
commit5b7595d9d7e313271c692a849fc915e73fcea108 (patch)
tree2e20578ce771986d813bba100004469f37c65b24 /packages/client/src/components/note-detailed.vue
parentRefactor clip page to Composition API (#8822) (diff)
downloadmisskey-5b7595d9d7e313271c692a849fc915e73fcea108.tar.gz
misskey-5b7595d9d7e313271c692a849fc915e73fcea108.tar.bz2
misskey-5b7595d9d7e313271c692a849fc915e73fcea108.zip
Improve: unclip (#8823)
* Refactor clip page to use Composition API * Refactor clip page * Refactor clip page * Refactor clip page * Improve: unclip * Fix unclip * Fix unclip * chore: better type and name * Fix * Fix clipPage vue provider Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/client/src/components/note-detailed.vue')
-rw-r--r--packages/client/src/components/note-detailed.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/components/note-detailed.vue b/packages/client/src/components/note-detailed.vue
index 6234b710d2..ba47bfcd4a 100644
--- a/packages/client/src/components/note-detailed.vue
+++ b/packages/client/src/components/note-detailed.vue
@@ -251,12 +251,12 @@ function onContextmenu(ev: MouseEvent): void {
ev.preventDefault();
react();
} else {
- os.contextMenu(getNoteMenu({ note: note, translating, translation, menuButton }), ev).then(focus);
+ os.contextMenu(getNoteMenu({ note: note, translating, translation, menuButton, isDeleted }), ev).then(focus);
}
}
function menu(viaKeyboard = false): void {
- os.popupMenu(getNoteMenu({ note: note, translating, translation, menuButton }), menuButton.value, {
+ os.popupMenu(getNoteMenu({ note: note, translating, translation, menuButton, isDeleted }), menuButton.value, {
viaKeyboard,
}).then(focus);
}