fix
This commit is contained in:
parent
b87840e733
commit
66417c8753
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue