From 66417c875336360a72366277f882199628de0136 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 13 Feb 2021 03:29:55 +0900 Subject: [PATCH] fix --- src/client/pages/share.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/pages/share.vue b/src/client/pages/share.vue index 1fd96e2fd5..004b2b8b6c 100644 --- a/src/client/pages/share.vue +++ b/src/client/pages/share.vue @@ -13,7 +13,7 @@ :initial-local-only="localOnly" :reply="reply" :renote="renote" - :specified="specified" + :visible-users="visibleUsers" @posted="state = 'posted'" class="_panel" /> @@ -50,7 +50,6 @@ export default defineComponent({ initialText: null as string | null, reply: null as any, renote: null as any, - specified: null as any, visibility: null as string | null, localOnly: null as boolean | null, files: null as any[] | null, @@ -86,7 +85,7 @@ export default defineComponent({ ...(visibleUserIds ? visibleUserIds.split(',').map(userId => ({ userId })) : []), ...(visibleAccts ? visibleAccts.split(',').map(parseAcct) : []) ].map(q => os.api('users/show', q) - .catch(() => Error(`invalid user query: ${JSON.stringify(q)}`))) + .catch(() => Error(`invalid user query: ${JSON.stringify(q)}`))); } const localOnly = urlParams.get('localOnly');