Refactor/everything #11

Merged
KevinMidboe merged 21 commits from refactor/everything into master 2020-03-10 09:23:31 +00:00
Showing only changes of commit 05d3530035 - Show all commits

View File

@@ -340,12 +340,11 @@
window.removeEventListener("unload", this.setWinnerdataToStorage)
},
resetWinnerDataInStorage() {
localStorage.removeItem("winners")
localStorage.removeItem("colorValues")
this.winners = []
this.fetchAndAddPrelotteryWines()
.then(resp => this.winners = resp)
this.lotteryColorBoxes.map(color => color.value = null)
window.location.reload();
}
}
};