ドライブの管理画面でファイルのオリジナルURLを表示するように
This commit is contained in:
parent
d775e19059
commit
02a27a8b12
@ -39,6 +39,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-show="file._open">
|
<div v-show="file._open">
|
||||||
|
<ui-input readonly :value="file.url"></ui-input>
|
||||||
<ui-horizon-group>
|
<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-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>
|
<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
|
skip: ps.offset
|
||||||
});
|
});
|
||||||
|
|
||||||
res(await packMany(files, { detail: true, withUser: true }));
|
res(await packMany(files, { detail: true, withUser: true, self: true }));
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user