update status popover when its content changes (only status reference)

This commit is contained in:
Henry Jameson 2022-06-22 00:34:22 +03:00
commit a0ddfa499f
2 changed files with 8 additions and 0 deletions

View file

@ -38,6 +38,13 @@ const StatusPopover = {
.catch(e => (this.error = true))
}
}
},
watch: {
status (newStatus, oldStatus) {
if (newStatus !== oldStatus) {
this.$refs.popover.updateStyles()
}
}
}
}