Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: prevent creation of duplicate collection
jamesgeorge007bb973ee449cf
diff --git a/store/postwoman.js b/store/postwoman.jsindex d07d70957..61712fb65 100644--- a/store/postwoman.js+++ b/store/postwoman.js@@ -115,6 +115,7 @@ export const mutations = {const duplicateCollection = collections.some(item => item.name === name)if (duplicateCollection) {this.$toast.info('Duplicate collection');+ return;}collections.push({name: "",