fix known disappearing prompts
parent
129a4fd39d
commit
cba06b07b9
|
@ -48,8 +48,6 @@ const layoutStore = useLayoutStore();
|
|||
|
||||
// TODO: this is a copy of the same function in FileListing.vue
|
||||
const uploadInput = (event: Event) => {
|
||||
layoutStore.closeHovers();
|
||||
|
||||
let files = (event.currentTarget as HTMLInputElement)?.files;
|
||||
if (files === null) return;
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ export const useLayoutStore = defineStore("layout", {
|
|||
});
|
||||
},
|
||||
closeHovers() {
|
||||
this.prompts.pop();
|
||||
this.prompts.shift();
|
||||
},
|
||||
// easily reset state using `$reset`
|
||||
clearLayout() {
|
||||
|
|
Loading…
Reference in New Issue