Implementing exercise 3.2

This commit is contained in:
2024-11-20 14:07:41 +01:00
parent 366f1060e3
commit 57358fa818
7 changed files with 68 additions and 7 deletions

View File

@@ -12,9 +12,9 @@ export const useFilesStore = defineStore('filesStore', {
selectedFolder: ref<{name: string, nrOfItems: number}>(),
/** List of files on the server */
staticFiles: ref<Array<{name: string, size: number, url: string}>>([]),
staticFiles: ref<Array<{name: string, size: number, content: string, url: string}>>([]),
selectedFile: ref<{name: string, size: number, url: string}>(),
selectedFile: ref<{name: string, size: number, content: string, url: string}>(),
showFileUploadDialog: ref(false),