Skip to content

Commit

Permalink
ローカルのみしかノートがインデックスされていない場合、リモートユーザーも選択できなくした
Browse files Browse the repository at this point in the history
  • Loading branch information
tai-cha committed Jul 17, 2024
1 parent 4e769e5 commit 7ef3bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/search.note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ if (props.userId != null) {
}

function selectUser() {
os.selectUser({ includeSelf: true }).then(_user => {
os.selectUser({ includeSelf: true, localOnly: instance.noteSearchableScope === 'local' }).then(_user => {
user.value = _user;
hostInput.value = _user.host ?? '';
});
Expand Down

0 comments on commit 7ef3bc9

Please sign in to comment.