feat: show warning alert

This commit is contained in:
jamesgeorge007
2020-01-23 14:11:04 +05:30
parent 5481c28e4b
commit c3ecf98b62

View File

@@ -57,6 +57,7 @@ export default {
methods: {
addNewCollection() {
if (!this.$data.name) {
alert('Please provide a name')
return;
}
this.$store.commit("postwoman/addNewCollection", {