mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
Fix type
This commit is contained in:
@@ -157,7 +157,7 @@ export default class GlobalMenuWidget extends BasicWidget {
|
||||
}
|
||||
|
||||
async updateVersionStatus() {
|
||||
if (!options.get("checkForUpdates")) {
|
||||
if (options.get("checkForUpdates") == 'true') {
|
||||
const latestVersion = await this.fetchLatestVersion();
|
||||
|
||||
this.updateAvailableWidget.updateVersionStatus(latestVersion);
|
||||
|
||||
Reference in New Issue
Block a user