Re-draw on input change

This commit is contained in:
2020-01-22 17:25:59 +01:00
parent 89f24c519f
commit 24075b4f1d

View File

@@ -87,6 +87,11 @@ export default {
blueCheckbox: true blueCheckbox: true
}; };
}, },
watch: {
numberOfBallots: function() {
this.generateColors()
}
},
methods: { methods: {
generateColors: function(event, time) { generateColors: function(event, time) {
if (time == 5) { if (time == 5) {