add not-found handling to ZK and hotlink viewer pages.

Rename ViewerView and view store to ZkViewerView and useZkViewStore; unify hotlink load and ZK unlock error copy.
This commit is contained in:
2026-10-30 17:43:29 +01:00
parent bb08bb389f
commit 19a8feff19
7 changed files with 85 additions and 36 deletions
@@ -7,7 +7,7 @@ import { toArrayBuffer } from '@/utils/toArrayBuffer';
import { decryptPasswordProtectedZkUpload } from '@/utils/upload/decryptPasswordProtectedZkUpload';
import { decryptZkUpload } from '@/utils/upload/decryptZkUpload';
export const useViewStore = defineStore('view', () => {
export const useZkViewStore = defineStore('zkView', () => {
const imageObjectUrl = ref<string | null>(null);
const clearImage = (): void => {