chore: make use of toast
This commit is contained in:
parent
fcdf93c5e5
commit
e16019dcbf
1 changed files with 1 additions and 2 deletions
|
|
@ -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: "",
|
||||
|
|
|
|||
Loading…
Reference in a new issue