added set timeout to watchers

This commit is contained in:
Roman Cervantes 2019-09-13 15:59:01 -07:00
parent a286a10a17
commit b12f527e1a

View file

@ -199,14 +199,26 @@ export default {
watch: {
view() {
this.initGrid();
setTimeout(() => {
this.initGrid();
}, 500);
},
games() {
this.initGrid();
setTimeout(() => {
this.initGrid();
}, 500);
},
editing() {
this.initGrid();
setTimeout(() => {
this.initGrid();
}, 500);
},
},