Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:bug: Fixed a wrong toast notification

Liyas Thomas5b220d5c5c01
diff --git a/components/environments/importExportEnvironment.vue b/components/environments/importExportEnvironment.vue
index 6568cadba..72642b496 100644
--- a/components/environments/importExportEnvironment.vue
+++ b/components/environments/importExportEnvironment.vue
@@ -114,6 +114,7 @@ export default {
}
reader.readAsText(this.$refs.inputChooseFileToReplaceWith.files[0])
this.fileImported()
+ this.syncToFBEnvironments()
},
importFromJSON() {
let reader = new FileReader()
@@ -130,6 +131,7 @@ export default {
}
}
reader.readAsText(this.$refs.inputChooseFileToImportFrom.files[0])
+ this.syncToFBEnvironments()
},
importFromPostwoman(environments) {
let confirmation = this.$t("file_imported")
@@ -179,7 +181,6 @@ export default {
this.$toast.info(this.$t("file_imported"), {
icon: "folder_shared",
})
- this.syncToFBEnvironments()
},
},
}