Commit 3ab937f8 authored by davelopez's avatar davelopez
Browse files

Fix FilesDialog navigation back when error

After displaying an error in any of the file sources, when going back, the load function was passed an `event` object as argument instead of no arguments.
parent 09c8a0b1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
        :options-show="optionsShow"
        :modal-show="modalShow"
        :hide-modal="() => (modalShow = false)"
        :back-func="load"
        :back-func="goBack"
        :undo-show="undoShow">
        <template v-slot:search>
            <data-dialog-search v-model="filter" />
@@ -330,6 +330,10 @@ export default {
                    });
            }
        },
        goBack() {
            // Loading without a record navigates back one level
            this.load();
        },
        parseItemFileMode(item) {
            const result = {
                id: item.uri,