Merge branch 'fix-excessive-reregistrations' into 'develop'

Fix rogue nested watcher triggering notifications registering too often

Closes #1159

See merge request pleroma/pleroma-fe!1708
This commit is contained in:
HJ 2022-12-22 13:15:46 +00:00
commit eae62e2eb8
2 changed files with 6 additions and 9 deletions

View file

@ -38,15 +38,6 @@ const FilteringTab = {
},
// Updating nested properties
watch: {
notificationVisibility: {
handler (value) {
this.$store.dispatch('setOption', {
name: 'notificationVisibility',
value: this.$store.getters.mergedConfig.notificationVisibility
})
},
deep: true
},
replyVisibility () {
this.$store.dispatch('queueFlushAll')
}