reposition popper after fetching status

This commit is contained in:
taehoon 2019-07-01 13:47:55 -04:00
parent 5faafdb428
commit 565d53812b

View file

@ -388,6 +388,7 @@ const Status = {
if (!this.preview) { if (!this.preview) {
this.$store.state.api.backendInteractor.fetchStatus({ id }).then((status) => { this.$store.state.api.backendInteractor.fetchStatus({ id }).then((status) => {
this.preview = status this.preview = status
this.$nextTick(this.$refs.foo.updatePopper)
}) })
} }
} else if (this.preview.id !== targetId) { } else if (this.preview.id !== targetId) {