From 0879ab50b8596da92dda32845037924adb2bc0b5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Feb 2023 14:00:15 +0900 Subject: [PATCH] fix(client): call checkMissingMention immediately --- packages/frontend/src/components/MkPostForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index f15906c1c1..620b126822 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -228,7 +228,7 @@ const hashtags = $computed(defaultStore.makeGetterSetter('postFormHashtags')); watch($$(text), () => { checkMissingMention(); -}); +}, { immediate: true }); watch($$(visibleUsers), () => { checkMissingMention();