summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkFileCaptionEditWindow.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-01-06 09:41:14 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-01-06 09:41:14 +0900
commit372a17d7f0fd4e95086b5e9685d4c21a3550422b (patch)
treee6c4dca5d37651f6479df74f624bd6ee252b75f4 /packages/frontend/src/components/MkFileCaptionEditWindow.vue
parentfix(backend): Set correct access control of admin/drive/files (#9472) (diff)
downloadsharkey-372a17d7f0fd4e95086b5e9685d4c21a3550422b.tar.gz
sharkey-372a17d7f0fd4e95086b5e9685d4c21a3550422b.tar.bz2
sharkey-372a17d7f0fd4e95086b5e9685d4c21a3550422b.zip
refactor
Diffstat (limited to 'packages/frontend/src/components/MkFileCaptionEditWindow.vue')
-rw-r--r--packages/frontend/src/components/MkFileCaptionEditWindow.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/components/MkFileCaptionEditWindow.vue b/packages/frontend/src/components/MkFileCaptionEditWindow.vue
index b3bd194dc3..f7b7430bff 100644
--- a/packages/frontend/src/components/MkFileCaptionEditWindow.vue
+++ b/packages/frontend/src/components/MkFileCaptionEditWindow.vue
@@ -1,5 +1,5 @@
<template>
-<XModalWindow
+<MkModalWindow
ref="dialog"
:width="400"
:height="450"
@@ -16,13 +16,13 @@
<template #label>{{ i18n.ts.caption }}</template>
</MkTextarea>
</MkSpacer>
-</XModalWindow>
+</MkModalWindow>
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as Misskey from 'misskey-js';
-import XModalWindow from '@/components/MkModalWindow.vue';
+import MkModalWindow from '@/components/MkModalWindow.vue';
import MkTextarea from '@/components/form/textarea.vue';
import MkDriveFileThumbnail from '@/components/MkDriveFileThumbnail.vue';
import { i18n } from '@/i18n';
@@ -37,7 +37,7 @@ const emit = defineEmits<{
(ev: 'closed'): void;
}>();
-const dialog = $shallowRef<InstanceType<typeof XModalWindow>>();
+const dialog = $shallowRef<InstanceType<typeof MkModalWindow>>();
let caption = $ref(props.default);