aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/features/announcements/store.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js
index 0bebf29fd..87cf08544 100644
--- a/src/features/announcements/store.js
+++ b/src/features/announcements/store.js
@@ -123,6 +123,11 @@ export class AnnouncementsStore extends FeatureStore {
123 const targetVersion = this.targetVersion || this.currentVersion; 123 const targetVersion = this.targetVersion || this.currentVersion;
124 if (!targetVersion) return; 124 if (!targetVersion) return;
125 getChangelogRequest.execute(targetVersion); 125 getChangelogRequest.execute(targetVersion);
126 getAnnouncementRequest.execute(targetVersion); 126 // We only fetch announcements for current / older versions
127 if (targetVersion <= this.currentVersion) {
128 getAnnouncementRequest.execute(targetVersion);
129 } else {
130 getAnnouncementRequest.reset();
131 }
127 } 132 }
128} 133}