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
};
},
watch: {
numberOfBallots: function() {
this.generateColors()
}
},
methods: {
generateColors: function(event, time) {
if (time == 5) {