Update Timeline, prevent nextTick() when reloading same comment modal. Fixes #2584

This commit is contained in:
Daniel Supernault 2021-01-26 20:33:09 -07:00
parent de8828e88a
commit cc84125ba2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 9 additions and 1 deletions

View file

@ -4,7 +4,10 @@ import InfiniteLoading from 'vue-infinite-loading';
import Loading from 'vue-loading-overlay';
import VueTimeago from 'vue-timeago';
import VueCarousel from 'vue-carousel';
import VueBlurHash from 'vue-blurhash'
import 'vue-blurhash/dist/vue-blurhash.css'
Vue.use(VueBlurHash);
Vue.use(VueCarousel);
Vue.use(BootstrapVue);
Vue.use(InfiniteLoading);

View file

@ -919,6 +919,11 @@ body-class="p-2 rounded">
return;
}
if(this.status && this.status.id == status.id) {
this.$refs.replyModal.show();
return;
}
this.status = status;
this.replies = {};
this.replyStatus = {};