dynamically load gallery

This commit is contained in:
Henry Jameson 2026-06-04 18:27:09 +03:00
commit 3aca1ce6c0
7 changed files with 24 additions and 15 deletions

View file

@ -1,7 +1,6 @@
import { cloneDeep } from 'lodash'
import { defineAsyncComponent } from 'vue'
import Gallery from 'src/components/gallery/gallery.vue'
import StatusContent from 'src/components/status_content/status_content.vue'
import { useMergedConfigStore } from 'src/stores/merged_config.js'
@ -24,7 +23,9 @@ const Draft = {
),
StatusContent,
Gallery,
Gallery: defineAsyncComponent(
() => import( 'src/components/gallery/gallery.vue')
),
},
props: {
draft: {