Skip to content

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

feat: switch to toast

jamesgeorge0079b8936f53c8b
diff --git a/components/collections/addCollection.vue b/components/collections/addCollection.vue
index 8a2c86fc7..0348c87a6 100644
--- a/components/collections/addCollection.vue
+++ b/components/collections/addCollection.vue
@@ -57,7 +57,7 @@ export default {
methods: {
addNewCollection() {
if (!this.$data.name) {
- alert('Please provide a name')
+ this.$toast.info('Please provide a name')
return;
}
this.$store.commit("postwoman/addNewCollection", {