fix
This commit is contained in:
parent
b87840e733
commit
66417c8753
1 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
||||||
:initial-local-only="localOnly"
|
:initial-local-only="localOnly"
|
||||||
:reply="reply"
|
:reply="reply"
|
||||||
:renote="renote"
|
:renote="renote"
|
||||||
:specified="specified"
|
:visible-users="visibleUsers"
|
||||||
@posted="state = 'posted'"
|
@posted="state = 'posted'"
|
||||||
class="_panel"
|
class="_panel"
|
||||||
/>
|
/>
|
||||||
|
@ -50,7 +50,6 @@ export default defineComponent({
|
||||||
initialText: null as string | null,
|
initialText: null as string | null,
|
||||||
reply: null as any,
|
reply: null as any,
|
||||||
renote: null as any,
|
renote: null as any,
|
||||||
specified: null as any,
|
|
||||||
visibility: null as string | null,
|
visibility: null as string | null,
|
||||||
localOnly: null as boolean | null,
|
localOnly: null as boolean | null,
|
||||||
files: null as any[] | null,
|
files: null as any[] | null,
|
||||||
|
@ -86,7 +85,7 @@ export default defineComponent({
|
||||||
...(visibleUserIds ? visibleUserIds.split(',').map(userId => ({ userId })) : []),
|
...(visibleUserIds ? visibleUserIds.split(',').map(userId => ({ userId })) : []),
|
||||||
...(visibleAccts ? visibleAccts.split(',').map(parseAcct) : [])
|
...(visibleAccts ? visibleAccts.split(',').map(parseAcct) : [])
|
||||||
].map(q => os.api('users/show', q)
|
].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');
|
const localOnly = urlParams.get('localOnly');
|
||||||
|
|
Loading…
Reference in a new issue