feat: show warning alert
This commit is contained in:
parent
5481c28e4b
commit
c3ecf98b62
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ export default {
|
|||
methods: {
|
||||
addNewCollection() {
|
||||
if (!this.$data.name) {
|
||||
alert('Please provide a name')
|
||||
return;
|
||||
}
|
||||
this.$store.commit("postwoman/addNewCollection", {
|
||||
|
|
|
|||
Loading…
Reference in a new issue