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:
parent
5f36bb6747
commit
b68c358688
2 changed files with 3 additions and 1 deletions
|
|
@ -76,6 +76,7 @@ const emit = defineEmits<{
|
|||
|
||||
const props = defineProps<{
|
||||
includeSelf?: boolean;
|
||||
local?: boolean;
|
||||
}>();
|
||||
|
||||
const username = ref('');
|
||||
|
|
@ -90,6 +91,7 @@ function search() {
|
|||
users.value = [];
|
||||
return;
|
||||
}
|
||||
if (props.local) host.value = '.';
|
||||
misskeyApi('users/search-by-username-and-host', {
|
||||
username: username.value,
|
||||
host: host.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue