@@ -145,7 +145,7 @@ export default {
done();
},
submitDrawer() {
- if (this.drawerform) {
+ if (this.drawerform.title != null && this.drawerform.imgdir != null && this.drawerform.imgurl != null) {
this.form.adverts.push(this.drawerform);
}
this.drawerform = {};