Add sms capabilities, and online-fixing of everything

This commit is contained in:
Kasper Rynning-Tønnesen
2020-04-04 01:05:52 +02:00
parent 09648f0b2d
commit 40927ac286
14 changed files with 592 additions and 123 deletions

View File

@@ -118,7 +118,8 @@ import {
attendees,
winnersSecure,
deleteWinners,
deleteAttendees
deleteAttendees,
finishedDraw
} from "@/api";
import RaffleGenerator from "@/ui/RaffleGenerator";
@@ -165,6 +166,9 @@ export default {
this.socket.on("new_attendee", async msg => {
this.getAttendees();
});
window.finishedDraw = finishedDraw;
console.log("here");
},
methods: {
setWithRandomColors(colors) {
@@ -209,6 +213,7 @@ export default {
this.countdown();
} else {
this.drawingWinner = false;
finishedDraw();
}
this.getWinners();
this.getAttendees();