diff options
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/announcements/store.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js index 33aa84ef5..0d2b68ccf 100644 --- a/src/features/announcements/store.js +++ b/src/features/announcements/store.js | |||
@@ -122,12 +122,7 @@ export class AnnouncementsStore extends FeatureStore { | |||
122 | const targetVersion = this.targetVersion || this.currentVersion; | 122 | const targetVersion = this.targetVersion || this.currentVersion; |
123 | if (!targetVersion) return; | 123 | if (!targetVersion) return; |
124 | getChangelogRequest.execute(targetVersion); | 124 | getChangelogRequest.execute(targetVersion); |
125 | // We only fetch announcements for current / older versions | 125 | getAnnouncementRequest.execute(targetVersion); |
126 | if (targetVersion <= this.currentVersion) { | ||
127 | getAnnouncementRequest.execute(targetVersion); | ||
128 | } else { | ||
129 | getAnnouncementRequest.reset(); | ||
130 | } | ||
131 | }; | 126 | }; |
132 | 127 | ||
133 | _showAnnouncementOnRouteMatch = () => { | 128 | _showAnnouncementOnRouteMatch = () => { |