mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update Timeline, prevent nextTick() when reloading same comment modal. Fixes #2584
This commit is contained in:
parent
de8828e88a
commit
cc84125ba2
2 changed files with 9 additions and 1 deletions
5
resources/assets/js/components.js
vendored
5
resources/assets/js/components.js
vendored
|
@ -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);
|
||||
|
|
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in a new issue