ギャラリー(ノート)が動作しない問題を修正

This commit is contained in:
tmorio 2024-01-03 22:56:51 +09:00 committed by kakkokari-gtyih
parent 3b6a218f43
commit def3130e91

View file

@ -20,6 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup>
import {ref} from "vue";
import {notePage} from "@/filters/note.js";
import {i18n} from "@/i18n.js";
import ImgWithBlurhash from "@/components/MkImgWithBlurhash.vue";
@ -27,7 +28,7 @@ import * as Misskey from "misskey-js";
import {defaultStore} from "@/store.js";
import {getStaticImageUrl} from "@/scripts/media-proxy.js";
let showingFiles = $ref<string[]>([]);
let showingFiles = ref<string[]>([]);
function thumbnail(image: Misskey.entities.DriveFile): string {
return defaultStore.state.disableShowingAnimatedImages