diff --git a/frontend/src/App.vue b/frontend/src/App.vue index f8ecb9a..040aa20 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -10,6 +10,10 @@
+ - diff --git a/frontend/src/stores/main.ts b/frontend/src/stores/main.ts index 7541105..853258d 100644 --- a/frontend/src/stores/main.ts +++ b/frontend/src/stores/main.ts @@ -19,6 +19,8 @@ export const useMainStore = defineStore({ cursor: '' as string, server: {} as Record, dialog: '' as '' | 'login' | 'settings', + uprogress: {} as any, + dprogress: {} as any, prefs: { gallery: false, sortListing: '' as SortOrder, @@ -89,7 +91,13 @@ export const useMainStore = defineStore({ }, focusBreadcrumb() { (document.querySelector('.breadcrumb') as HTMLAnchorElement).focus() - } + }, + cancelDownloads() { + location.reload() // FIXME + }, + cancelUploads() { + location.reload() // FIXME + }, }, getters: { sortOrder(): SortOrder { return this.query ? this.prefs.sortFiltered : this.prefs.sortListing },