Skip to content

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

Fix issue with clear history confirmation persisting after clearing

Andrew Bastin455cccebb557
diff --git a/components/history/index.vue b/components/history/index.vue
index 0a588f952..9ba9b614f 100644
--- a/components/history/index.vue
+++ b/components/history/index.vue
@@ -138,6 +138,8 @@ export default {
if (this.page === "rest") clearRESTHistory()
else clearGraphqlHistory()
+ this.isClearingHistory = false
+
this.$toast.error(this.$t("history_deleted"), {
icon: "delete",
})