forked from mirrors/misskey
refactor
This commit is contained in:
@@ -94,6 +94,8 @@ async function calcAspectRatio() {
|
||||
onMounted(() => {
|
||||
calcAspectRatio();
|
||||
|
||||
if (gallery.value == null) return; // TSを黙らすため
|
||||
|
||||
lightbox = new PhotoSwipeLightbox({
|
||||
dataSource: props.mediaList
|
||||
.filter(media => {
|
||||
|
||||
Reference in New Issue
Block a user