summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/diffs/components/app.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/diffs/components/app.vue')
-rw-r--r--app/assets/javascripts/diffs/components/app.vue9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/assets/javascripts/diffs/components/app.vue b/app/assets/javascripts/diffs/components/app.vue
index 7bc75127876..35d1a564178 100644
--- a/app/assets/javascripts/diffs/components/app.vue
+++ b/app/assets/javascripts/diffs/components/app.vue
@@ -389,10 +389,7 @@ export default {
() => {
this.setDiscussions();
- if (
- this.$store.state.notes.doneFetchingBatchDiscussions &&
- window.gon?.features?.paginatedMrDiscussions
- ) {
+ if (this.$store.state.notes.doneFetchingBatchDiscussions) {
this.unwatchDiscussions();
}
},
@@ -402,10 +399,6 @@ export default {
() => `${this.retrievingBatches}:${this.$store.state.notes.discussions.length}`,
() => {
if (!this.retrievingBatches && this.$store.state.notes.discussions.length) {
- if (!window.gon?.features?.paginatedMrDiscussions) {
- this.unwatchDiscussions();
- }
-
this.unwatchRetrievingBatches();
}
},