hide() {
this.showing = false;
+ this.selectedImage = false;
+ this.$refs.dropzone.onClose();
this.$el.children[0].components.overlay.hide();
},
message += errors[key].join('\n');
});
this.$events.emit('error', message);
- } else if (error.response.status === 403) {
- this.$events.emit('error', error.response.data.error);
}
});
},
}).catch(error=> {
if (error.response.status === 400) {
this.dependantPages = error.response.data;
- } else if (error.response.status === 403) {
- this.$events.emit('error', error.response.data.error);
}
});
},
data,
computed,
components: {dropzone},
-};
\ No newline at end of file
+};