use nextrick with status popover updates

This commit is contained in:
Henry Jameson 2022-06-27 14:28:51 +03:00
parent 81bf18a311
commit 6be625b058

View file

@ -42,7 +42,7 @@ const StatusPopover = {
watch: {
status (newStatus, oldStatus) {
if (newStatus !== oldStatus) {
this.$refs.popover.updateStyles()
this.$nextTick(() => this.$refs.popover.updateStyles())
}
}
}