Fix progress not displaying

This commit is contained in:
Kloon ImKloon 2023-09-09 20:01:58 +02:00
parent d6165f48c4
commit 9f74fb4604
No known key found for this signature in database
GPG Key ID: CCF1C86A995C5B6A

View File

@ -23,6 +23,7 @@ import Prompts from "@/components/prompts/Prompts.vue";
import Shell from "@/components/Shell.vue";
import UploadFiles from "@/components/prompts/UploadFiles.vue";
import { enableExec } from "@/utils/constants";
import { useUploadStore } from "@/stores/upload";
export default {
name: "layout",
@ -34,7 +35,8 @@ export default {
},
computed: {
...mapState(useAuthStore, ["isLoggedIn", "user"]),
...mapState(useLayoutStore, ["progress", "show"]),
...mapState(useLayoutStore, ["show"]),
...mapState(useUploadStore, { progress: "getProgress" }),
...mapWritableState(useFileStore, ["selected", "multiple"]),
isExecEnabled: () => enableExec,
},