mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +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
3
resources/assets/js/components.js
vendored
3
resources/assets/js/components.js
vendored
|
@ -4,7 +4,10 @@ import InfiniteLoading from 'vue-infinite-loading';
|
||||||
import Loading from 'vue-loading-overlay';
|
import Loading from 'vue-loading-overlay';
|
||||||
import VueTimeago from 'vue-timeago';
|
import VueTimeago from 'vue-timeago';
|
||||||
import VueCarousel from 'vue-carousel';
|
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(VueCarousel);
|
||||||
Vue.use(BootstrapVue);
|
Vue.use(BootstrapVue);
|
||||||
Vue.use(InfiniteLoading);
|
Vue.use(InfiniteLoading);
|
||||||
|
|
|
@ -919,6 +919,11 @@ body-class="p-2 rounded">
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(this.status && this.status.id == status.id) {
|
||||||
|
this.$refs.replyModal.show();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.status = status;
|
this.status = status;
|
||||||
this.replies = {};
|
this.replies = {};
|
||||||
this.replyStatus = {};
|
this.replyStatus = {};
|
||||||
|
|
Loading…
Reference in a new issue