Feat/controllers - refactor entire backend and new admin interface #75

Merged
KevinMidboe merged 117 commits from feat/controllers into master 2021-02-19 00:19:52 +00:00
Showing only changes of commit ca6f6cb2ba - Show all commits

View File

@@ -83,7 +83,13 @@ export default {
},
request(wine){
requestNewWine(wine)
.then(() => this.showModal = true)
.then(resp => {
if(resp.success) {
this.showModal = true
} else {
alert("Obs, her oppsto det en feil! Feilen er logget.");
}
})
},
emitFromModalButton(action){
if(action == "stay"){