From a34acfd0c53b79227ddc5f9edfdd003278ba7108 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Tue, 21 Jan 2020 16:38:09 +0530 Subject: [PATCH] fix: return for duplicate collection --- store/postwoman.js | 1 + 1 file changed, 1 insertion(+) diff --git a/store/postwoman.js b/store/postwoman.js index 895464977..dabaf781b 100644 --- a/store/postwoman.js +++ b/store/postwoman.js @@ -114,6 +114,7 @@ export const mutations = { const duplicateCollection = collections.some(item => item.name === collection.name) if (duplicateCollection) { alert('Duplicate collection'); + return; } collections.push({ name: "",