use better name

This commit is contained in:
taehoon 2019-07-01 14:03:07 -04:00
parent 5d6fcb3bb3
commit 498d7bcb5e
2 changed files with 2 additions and 2 deletions

View file

@ -388,7 +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) this.$nextTick(this.$refs.statusPreviewPopper.updatePopper)
}) })
} }
} else if (this.preview.id !== targetId) { } else if (this.preview.id !== targetId) {

View file

@ -171,7 +171,7 @@
<div class="heading-reply-row"> <div class="heading-reply-row">
<div v-if="isReply" class="reply-to-and-accountname"> <div v-if="isReply" class="reply-to-and-accountname">
<Popper ref="foo" :options="{ placement: 'bottom-start' }" @show="replyEnter(status.in_reply_to_status_id)"> <Popper ref="statusPreviewPopper" :options="{ placement: 'bottom-start' }" @show="replyEnter(status.in_reply_to_status_id)">
<div class="popper-wrapper status-preview"> <div class="popper-wrapper status-preview">
<status <status
v-if="preview" v-if="preview"