Fix watching array
This commit is contained in:
parent
442479f567
commit
907c3c76a2
|
@ -163,10 +163,13 @@ export default {
|
||||||
this.$store.commit('TimelineSpace/Contents/Home/changeHeading', true)
|
this.$store.commit('TimelineSpace/Contents/Home/changeHeading', true)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
timeline: function (newState, _oldState) {
|
timeline: {
|
||||||
if (this.heading && newState.length > 0) {
|
handler(newState, _oldState) {
|
||||||
this.$store.dispatch('TimelineSpace/Contents/Home/saveMarker')
|
if (this.heading && newState.length > 0) {
|
||||||
}
|
this.$store.dispatch('TimelineSpace/Contents/Home/saveMarker')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
deep: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -151,10 +151,13 @@ export default {
|
||||||
this.$store.commit('TimelineSpace/Contents/Mentions/changeHeading', true)
|
this.$store.commit('TimelineSpace/Contents/Mentions/changeHeading', true)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mentions: function (newState, _oldState) {
|
mentions: {
|
||||||
if (this.heading && newState.length > 0) {
|
handler(newState, _oldState) {
|
||||||
this.$store.dispatch('TimelineSpace/Contents/Mentions/saveMarker')
|
if (this.heading && newState.length > 0) {
|
||||||
}
|
this.$store.dispatch('TimelineSpace/Contents/Mentions/saveMarker')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
deep: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -150,10 +150,13 @@ export default {
|
||||||
this.$store.dispatch('TimelineSpace/Contents/Notifications/resetBadge')
|
this.$store.dispatch('TimelineSpace/Contents/Notifications/resetBadge')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
notifications: function (newState, _oldState) {
|
notifications: {
|
||||||
if (this.heading && newState.length > 0) {
|
handler(newState, _oldState) {
|
||||||
this.$store.dispatch('TimelineSpace/Contents/Notifications/saveMarker')
|
if (this.heading && newState.length > 0) {
|
||||||
}
|
this.$store.dispatch('TimelineSpace/Contents/Notifications/saveMarker')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
deep: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue