1
0

fix: reversi allowing you to search globally instead of just locally

Misskey used a local option in the select section but os nor userselectdialog supported this.
This commit is contained in:
Marie
2024-01-25 14:11:41 +01:00
parent 5f36bb6747
commit b68c358688
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ export function form(title, form) {
});
}
export async function selectUser(opts: { includeSelf?: boolean } = {}): Promise<Misskey.entities.UserLite> {
export async function selectUser(opts: { includeSelf?: boolean, local?: boolean } = {}): Promise<Misskey.entities.UserLite> {
return new Promise((resolve, reject) => {
popup(defineAsyncComponent(() => import('@/components/MkUserSelectDialog.vue')), {
includeSelf: opts.includeSelf,