diff options
author | 2019-05-08 12:03:50 +0200 | |
---|---|---|
committer | 2019-05-08 12:03:50 +0200 | |
commit | 6cdcafec265b341e37ea4cd4bf3535ca96677ad0 (patch) | |
tree | dd7c24685bf64619de63766939341da1c684d570 /src | |
parent | Update CHANGELOG.md (diff) | |
download | ferdium-app-6cdcafec265b341e37ea4cd4bf3535ca96677ad0.tar.gz ferdium-app-6cdcafec265b341e37ea4cd4bf3535ca96677ad0.tar.zst ferdium-app-6cdcafec265b341e37ea4cd4bf3535ca96677ad0.zip |
fix debug message for announcement semver logic
Diffstat (limited to 'src')
-rw-r--r-- | src/features/announcements/store.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js index 7ecc0e346..6e7ca1dd7 100644 --- a/src/features/announcements/store.js +++ b/src/features/announcements/store.js | |||
@@ -125,7 +125,7 @@ export class AnnouncementsStore extends FeatureStore { | |||
125 | // Check if the user has already used current version (= has seen the announcement) | 125 | // Check if the user has already used current version (= has seen the announcement) |
126 | const { currentVersion, lastSeenAnnouncementVersion } = this; | 126 | const { currentVersion, lastSeenAnnouncementVersion } = this; |
127 | if (semver.gt(currentVersion, lastSeenAnnouncementVersion || '0.0.0')) { | 127 | if (semver.gt(currentVersion, lastSeenAnnouncementVersion || '0.0.0')) { |
128 | debug(`${currentVersion} < ${lastSeenAnnouncementVersion}: announcement is shown`); | 128 | debug(`${currentVersion} > ${lastSeenAnnouncementVersion}: announcement is shown`); |
129 | this._showAnnouncement(); | 129 | this._showAnnouncement(); |
130 | } | 130 | } |
131 | }; | 131 | }; |