From f0bf3319335311c98ab07eb7076daaf72388678e Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Sat, 15 Oct 2022 18:15:03 -0400 Subject: [PATCH] Fix an issue with the core updater --- renderer/src/data/changelog.js | 3 ++- renderer/src/ui/updater.jsx | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/renderer/src/data/changelog.js b/renderer/src/data/changelog.js index 4a5fd130..5eeabc82 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -21,7 +21,8 @@ export default { items: [ "Fixed a few issues with our context menu api.", "Fixed an issue in our API that could lead to styles not being removed correctly.", - "Fixed an issue where `getOwnerInstance` would cause an error." + "Fixed an issue where `getOwnerInstance` would cause an error.", + "Fixed an issue with the core updater not updating on click." ] } ] diff --git a/renderer/src/ui/updater.jsx b/renderer/src/ui/updater.jsx index 8609b7ec..05ee2acc 100644 --- a/renderer/src/ui/updater.jsx +++ b/renderer/src/ui/updater.jsx @@ -12,7 +12,7 @@ class CoreUpdaterPanel extends React.Component { return {!this.props.hasUpdate &&
} - {this.props.hasUpdate && } + {this.props.hasUpdate && }
; } @@ -55,6 +55,7 @@ export default class UpdaterPanel extends React.Component { this.checkForUpdates = this.checkForUpdates.bind(this); this.updateAddon = this.updateAddon.bind(this); + this.updateCore = this.updateCore.bind(this); this.updateAllAddons = this.updateAllAddons.bind(this); this.update = this.update.bind(this); } @@ -121,7 +122,7 @@ export default class UpdaterPanel extends React.Component { render() { return [ , - , + , , , ];