mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 08:03:08 +02:00
ドライブの管理画面でファイルのオリジナルURLを表示するように
This commit is contained in:
parent
d775e19059
commit
02a27a8b12
2 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div v-show="file._open">
|
||||
<ui-input readonly :value="file.url"></ui-input>
|
||||
<ui-horizon-group>
|
||||
<ui-button @click="toggleSensitive(file)" v-if="file.isSensitive"><fa :icon="faEye"/> {{ $t('unmark-as-sensitive') }}</ui-button>
|
||||
<ui-button @click="toggleSensitive(file)" v-else><fa :icon="faEyeSlash"/> {{ $t('mark-as-sensitive') }}</ui-button>
|
||||
|
|
|
@ -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 }));
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue