diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-27 10:14:17 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-27 10:14:17 +0900 |
| commit | 25df56dfd0b97acfb4d6c76c9154f560f56ab150 (patch) | |
| tree | c5d6d73d802875c9a90dde464a7f8d0e4c40f072 /packages/frontend/src/components/MkMediaList.vue | |
| parent | tweak locale (diff) | |
| download | misskey-25df56dfd0b97acfb4d6c76c9154f560f56ab150.tar.gz misskey-25df56dfd0b97acfb4d6c76c9154f560f56ab150.tar.bz2 misskey-25df56dfd0b97acfb4d6c76c9154f560f56ab150.zip | |
refactor
Diffstat (limited to 'packages/frontend/src/components/MkMediaList.vue')
| -rw-r--r-- | packages/frontend/src/components/MkMediaList.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index 4a1100c324..bfc8179e13 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -94,6 +94,8 @@ async function calcAspectRatio() { onMounted(() => { calcAspectRatio(); + if (gallery.value == null) return; // TSを黙らすため + lightbox = new PhotoSwipeLightbox({ dataSource: props.mediaList .filter(media => { |