mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 03:40:25 +01:00
ギャラリー(ノート)が動作しない問題を修正
This commit is contained in:
parent
3b6a218f43
commit
def3130e91
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|
||||||
|
import {ref} from "vue";
|
||||||
import {notePage} from "@/filters/note.js";
|
import {notePage} from "@/filters/note.js";
|
||||||
import {i18n} from "@/i18n.js";
|
import {i18n} from "@/i18n.js";
|
||||||
import ImgWithBlurhash from "@/components/MkImgWithBlurhash.vue";
|
import ImgWithBlurhash from "@/components/MkImgWithBlurhash.vue";
|
||||||
|
@ -27,7 +28,7 @@ import * as Misskey from "misskey-js";
|
||||||
import {defaultStore} from "@/store.js";
|
import {defaultStore} from "@/store.js";
|
||||||
import {getStaticImageUrl} from "@/scripts/media-proxy.js";
|
import {getStaticImageUrl} from "@/scripts/media-proxy.js";
|
||||||
|
|
||||||
let showingFiles = $ref<string[]>([]);
|
let showingFiles = ref<string[]>([]);
|
||||||
|
|
||||||
function thumbnail(image: Misskey.entities.DriveFile): string {
|
function thumbnail(image: Misskey.entities.DriveFile): string {
|
||||||
return defaultStore.state.disableShowingAnimatedImages
|
return defaultStore.state.disableShowingAnimatedImages
|
||||||
|
|
Loading…
Reference in a new issue