From e16019dcbf0c939305fecd79a32cb37f6ea80741 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Tue, 21 Jan 2020 19:45:52 +0530 Subject: [PATCH] chore: make use of toast --- store/postwoman.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: "",