feat: show warning alert
This commit is contained in:
@@ -57,6 +57,7 @@ export default {
|
||||
methods: {
|
||||
addNewCollection() {
|
||||
if (!this.$data.name) {
|
||||
alert('Please provide a name')
|
||||
return;
|
||||
}
|
||||
this.$store.commit("postwoman/addNewCollection", {
|
||||
|
||||
Reference in New Issue
Block a user