From 02a27a8b12f6e93855d4a8b3ed06ef8f31ead707 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 8 Jan 2019 17:45:16 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=89=E3=83=A9=E3=82=A4=E3=83=96=E3=81=AE?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=94=BB=E9=9D=A2=E3=81=A7=E3=83=95=E3=82=A1?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=81=AE=E3=82=AA=E3=83=AA=E3=82=B8=E3=83=8A?= =?UTF-8?q?=E3=83=ABURL=E3=82=92=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/admin/views/drive.vue | 1 + src/server/api/endpoints/admin/drive/files.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/app/admin/views/drive.vue b/src/client/app/admin/views/drive.vue index 0ebb50fb9..a5ce2013e 100644 --- a/src/client/app/admin/views/drive.vue +++ b/src/client/app/admin/views/drive.vue @@ -39,6 +39,7 @@
+ {{ $t('unmark-as-sensitive') }} {{ $t('mark-as-sensitive') }} diff --git a/src/server/api/endpoints/admin/drive/files.ts b/src/server/api/endpoints/admin/drive/files.ts index dfd8eee91..177a808cb 100644 --- a/src/server/api/endpoints/admin/drive/files.ts +++ b/src/server/api/endpoints/admin/drive/files.ts @@ -77,5 +77,5 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => { skip: ps.offset }); - res(await packMany(files, { detail: true, withUser: true })); + res(await packMany(files, { detail: true, withUser: true, self: true })); }));