🐛 Fixed a wrong toast notification

This commit is contained in:
Liyas Thomas
2020-06-15 16:10:23 +05:30
parent 5cdc30b822
commit 5b220d5c5c

View File

@@ -114,6 +114,7 @@ export default {
} }
reader.readAsText(this.$refs.inputChooseFileToReplaceWith.files[0]) reader.readAsText(this.$refs.inputChooseFileToReplaceWith.files[0])
this.fileImported() this.fileImported()
this.syncToFBEnvironments()
}, },
importFromJSON() { importFromJSON() {
let reader = new FileReader() let reader = new FileReader()
@@ -130,6 +131,7 @@ export default {
} }
} }
reader.readAsText(this.$refs.inputChooseFileToImportFrom.files[0]) reader.readAsText(this.$refs.inputChooseFileToImportFrom.files[0])
this.syncToFBEnvironments()
}, },
importFromPostwoman(environments) { importFromPostwoman(environments) {
let confirmation = this.$t("file_imported") let confirmation = this.$t("file_imported")
@@ -179,7 +181,6 @@ export default {
this.$toast.info(this.$t("file_imported"), { this.$toast.info(this.$t("file_imported"), {
icon: "folder_shared", icon: "folder_shared",
}) })
this.syncToFBEnvironments()
}, },
}, },
} }