Skip to content

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

chore: make use of toast

jamesgeorge007e16019dcbf0c
diff --git a/store/postwoman.js b/store/postwoman.js
index df7399d31..d07d70957 100644
--- a/store/postwoman.js
+++ b/store/postwoman.js
@@ -114,8 +114,7 @@ export const mutations = {
const { name } = collection
const duplicateCollection = collections.some(item => item.name === name)
if (duplicateCollection) {
- alert('Duplicate collection');
- return;
+ this.$toast.info('Duplicate collection');
}
collections.push({
name: "",