Add update-event for winners/attendees
This commit is contained in:
@@ -99,7 +99,10 @@ export default {
|
||||
this.currentWinnerDrawn = false;
|
||||
}, 15000);
|
||||
});
|
||||
|
||||
this.socket.on("refresh_data", async msg => {
|
||||
this.getAttendees();
|
||||
this.getWinners();
|
||||
});
|
||||
this.socket.on("new_attendee", async msg => {
|
||||
this.getAttendees();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user