diff --git a/packages/nc-gui/composables/useAttachment.ts b/packages/nc-gui/composables/useAttachment.ts index 8e22871774..dc46ad7f86 100644 --- a/packages/nc-gui/composables/useAttachment.ts +++ b/packages/nc-gui/composables/useAttachment.ts @@ -1,9 +1,8 @@ +import fileNotFoundImgSrc from '~/assets/img/file-not-found.png' + const useAttachment = () => { const { appInfo } = useGlobal() - // TODO: not hardcode _nuxt - const fileNotFoundImgSrc = `/_nuxt/assets/img/file-not-found.png` - const getAttachmentSrc = (item: Record) => { if (item?.data) { return item.data