summaryrefslogtreecommitdiff
path: root/packages/client/src/components
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-01-27 17:38:02 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-01-27 17:38:02 +0900
commit779bd244a64e93a6d22dddf876f2611e7e4451ef (patch)
treeae77817670c85302cb1413f4250291bda33b5d46 /packages/client/src/components
parentUpdate CHANGELOG.md (diff)
downloadmisskey-779bd244a64e93a6d22dddf876f2611e7e4451ef.tar.gz
misskey-779bd244a64e93a6d22dddf876f2611e7e4451ef.tar.bz2
misskey-779bd244a64e93a6d22dddf876f2611e7e4451ef.zip
chore: fix instant form handling
Diffstat (limited to 'packages/client/src/components')
-rw-r--r--packages/client/src/components/post-form.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/components/post-form.vue b/packages/client/src/components/post-form.vue
index ed78c5a3fb..2eda97e14d 100644
--- a/packages/client/src/components/post-form.vue
+++ b/packages/client/src/components/post-form.vue
@@ -102,7 +102,7 @@ const props = withDefaults(defineProps<{
initialLocalOnly?: boolean;
initialVisibleUsers?: misskey.entities.User[];
initialNote?: misskey.entities.Note;
- share?: boolean;
+ instant?: boolean;
fixed?: boolean;
autofocus?: boolean;
}>(), {
@@ -641,7 +641,7 @@ onMounted(() => {
nextTick(() => {
// 書きかけの投稿を復元
- if (!props.share && !props.mention && !props.specified) {
+ if (!props.instant && !props.mention && !props.specified) {
const draft = JSON.parse(localStorage.getItem('drafts') || '{}')[draftKey];
if (draft) {
text = draft.data.text;