fix(frontend): selectUserのパラメータを調整 (#13142)
* fix(frontend): selectUserのパラメータを調整 * ついでに軽微なスタイルの修正
This commit is contained in:
@@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
<div class="_gaps_m">
|
||||
<MkSwitch v-model="isLocalOnly">{{ i18n.ts.localOnly }}</MkSwitch>
|
||||
|
||||
<MkFolder>
|
||||
<MkFolder :defaultOpen="true">
|
||||
<template #label>{{ i18n.ts.specifyUser }}</template>
|
||||
<template v-if="user" #suffix>@{{ user.username }}</template>
|
||||
|
||||
@@ -64,7 +64,7 @@ const user = ref<any>(null);
|
||||
const isLocalOnly = ref(false);
|
||||
|
||||
function selectUser() {
|
||||
os.selectUser().then(_user => {
|
||||
os.selectUser({ includeSelf: true }).then(_user => {
|
||||
user.value = _user;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user