diff --git a/packages/gallery/src/interface/album.js b/packages/gallery/src/interface/album.js index cb7a456..920f5dc 100644 --- a/packages/gallery/src/interface/album.js +++ b/packages/gallery/src/interface/album.js @@ -3,7 +3,7 @@ import { defineView, defineElement as el } from '../utils/domvm.js'; import { ImageType } from '../data/image.js'; import { FileType } from '../data/file.js'; import { pouchDocArrayHash, pouchDocHash } from '../utils/conversion.js'; -import { ThumbnailTemplate } from './thumbnail.js'; +import { ThumbnailTemplate } from './components/thumbnail.js'; import { prop, computed } from 'frptools'; export function AlbumView(vm, params) { diff --git a/packages/gallery/src/interface/allImages.js b/packages/gallery/src/interface/allImages.js index 57068bc..a0b43fd 100644 --- a/packages/gallery/src/interface/allImages.js +++ b/packages/gallery/src/interface/allImages.js @@ -4,7 +4,7 @@ import { subscribeToRender, defineView, defineElement as el } from '../utils/dom import { ImageType } from '../data/image.js'; import { pouchDocArrayHash, pouchDocHash } from '../utils/conversion.js'; -import { ThumbnailTemplate } from './thumbnail.js'; +import { ThumbnailTemplate } from './components/thumbnail.js'; import { injectStyle, styled } from '../services/style.js'; export function uploadImages(evt, files) { diff --git a/packages/gallery/src/interface/thumbnail.js b/packages/gallery/src/interface/components/thumbnail.js similarity index 57% rename from packages/gallery/src/interface/thumbnail.js rename to packages/gallery/src/interface/components/thumbnail.js index 848c698..a45491f 100644 --- a/packages/gallery/src/interface/thumbnail.js +++ b/packages/gallery/src/interface/components/thumbnail.js @@ -1,5 +1,5 @@ -import { defineView as vw, defineElement as el } from '../utils/domvm.js'; -import { AttachmentImageView } from './components/attachmentImage.js'; +import { defineView as vw, defineElement as el } from '../../utils/domvm.js'; +import { AttachmentImageView } from './attachmentImage.js'; export function ThumbnailTemplate(doc, remove, key) { return el('div', [ diff --git a/packages/gallery/src/interface/gallery.js b/packages/gallery/src/interface/gallery.js index fc24cde..0502d99 100644 --- a/packages/gallery/src/interface/gallery.js +++ b/packages/gallery/src/interface/gallery.js @@ -3,7 +3,7 @@ import { prop } from 'frptools'; import { subscribeToRender, defineView as vw, defineElement as el } from '../utils/domvm.js'; import { ImageType } from '../data/image.js'; import { AlbumType } from '../data/album.js'; -import { ThumbnailTemplate } from './thumbnail.js'; +import { ThumbnailTemplate } from './components/thumbnail.js'; import { AllImagesView, uploadImages } from './allImages.js'; import { Dropzone } from './components/dropzone.js'; import { Overlay } from './components/overlay.js';