diff --git a/CHANGELOG.md b/CHANGELOG.md index ef071c4cde349dbd154a09e48cb51d239d4bd3b4..72027d2df22d82dbd8035d2cd2f3eb02acf8ba0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,10 @@ _17th December 2020_ ### Fixed -- You can now colour nodes in Collect and Card views -- initial node creation failed on new microcosm without switching views +- Some sync bug fixes. +- You can now colour nodes in Collect and Card views. +- initial node creation failed on new microcosm without switching views. +- Force load on Collect view. # 0.1.44 diff --git a/app/src/components/ListLayer.vue b/app/src/components/ListLayer.vue index 342d24856ce91c30dc6da9fa0746059655772742..9a6e87f3c459a4dd22a60ba58fa0807808028f30 100644 --- a/app/src/components/ListLayer.vue +++ b/app/src/components/ListLayer.vue @@ -120,7 +120,7 @@ export default { }, mounted() { - // setTimeout(this.loadData, 500) + setTimeout(this.loadData, 500) const unwatch = this.$watch('nodes_filtered', (value) => { this.$options.myArray = this.nodes_filtered diff --git a/app/src/components/NodesLayer.vue b/app/src/components/NodesLayer.vue index 4b3abc3d45bea7306d07d2189d0d7d125ec866f8..6896240a8b476b5d99a8248756017c7e141fbd11 100644 --- a/app/src/components/NodesLayer.vue +++ b/app/src/components/NodesLayer.vue @@ -257,6 +257,8 @@ export default { // this is to stop sync chasing bug mounted() { + setTimeout(this.loadData, 500) + const unwatch = this.$watch('nodes_filtered', (value) => { this.$options.myArray = this.nodes_filtered // this.$options.positionsArray = this.positions_filtered diff --git a/app/src/components/OtherNodeslayer.vue b/app/src/components/OtherNodeslayer.vue index c82a6222578600d28042fa0a0f34bd8b11239504..89676ce40887689e527204956ce5ed98a8e208bc 100644 --- a/app/src/components/OtherNodeslayer.vue +++ b/app/src/components/OtherNodeslayer.vue @@ -281,6 +281,7 @@ export default { mounted() { //access the custom option using $options + setTimeout(this.loadData, 500) const unwatch = this.$watch('othernodes_filtered', (value) => { this.$options.myArray = this.othernodes_filtered @@ -314,10 +315,10 @@ export default { }, methods: { - // loadData() { - // this.$options.positionsArray = this.positions_filtered - // this.$forceUpdate() - // }, + loadData() { + this.$options.positionsArray = this.positions_filtered + this.$forceUpdate() + }, onActivated(id, zindex) { this.zindex = zindex this.nodeid = id diff --git a/app/src/views/Collect.vue b/app/src/views/Collect.vue index b4cb5503ee3b239f100b16fed143c1c2252c4183..08ba13c9732fbf39b3ad29f3fc53a52878923b8d 100644 --- a/app/src/views/Collect.vue +++ b/app/src/views/Collect.vue @@ -116,7 +116,6 @@ export default { addNode() { this.$store.dispatch('addNode') this.added = !this.added - this.$forceUpdate() }, editTrue(e) {