more reliably check for version numbers

This commit is contained in:
perf3ct
2024-11-09 22:16:00 +00:00
parent 47baa02bca
commit 48d53e276e
3 changed files with 51 additions and 3 deletions

View File

@@ -333,7 +333,6 @@ export default class GlobalMenuWidget extends BasicWidget {
const latestVersion = await this.fetchLatestVersion();
this.updateAvailableWidget.updateVersionStatus(latestVersion);
this.$updateToLatestVersionButton.toggle(latestVersion > glob.triliumVersion);
this.$updateToLatestVersionButton.find(".version-text").text(`Version ${latestVersion} is available, click to download.`);
}