1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-11 22:54:13 +02:00
This commit is contained in:
syuilo
2025-08-26 09:08:00 +09:00
parent 120af977a9
commit 9e5c8d94bf
14 changed files with 39 additions and 32 deletions

View File

@@ -111,13 +111,13 @@ const props = defineProps<{
fileId: string,
}>();
async function fetch() {
async function _fetch_() {
file.value = await misskeyApi('drive/files/show', { fileId: props.fileId });
info.value = await misskeyApi('admin/drive/show-file', { fileId: props.fileId });
isSensitive.value = file.value.isSensitive;
}
fetch();
_fetch_();
async function del() {
const { canceled } = await os.confirm({