Skip to content

Commit

Permalink
Merge pull request #10 from kiyo4act/feature/moderation_file_default_…
Browse files Browse the repository at this point in the history
…open

通報画面からユーザー情報に飛ぶとデフォルトでファイル一覧が見れるように変更
  • Loading branch information
kiyo4act authored May 11, 2023
2 parents 151c933 + 5f83af7 commit c4f0473
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/frontend/src/pages/user-info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
</template>
</MkFolder>

<MkFolder>
<MkFolder :default-open="true">
<template #icon><i class="ti ti-cloud"></i></template>
<template #label>{{ i18n.ts.files }}</template>
<MkFileListForAdmin :pagination="filesPagination" view-mode="grid"/>
Expand Down Expand Up @@ -237,6 +237,7 @@ function createFetcher() {
silenced = info.isSilenced;
suspended = info.isSuspended;
moderationNote = info.moderationNote;
tab = 'moderation';
watch($$(moderationNote), async () => {
await os.api('admin/update-user-note', { userId: user.id, text: moderationNote });
Expand Down

0 comments on commit c4f0473

Please sign in to comment.