mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Fix type
This commit is contained in:
parent
f3662d1048
commit
500946c10b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user