mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix "click to download" button
This commit is contained in:
		| @@ -333,6 +333,8 @@ export default class GlobalMenuWidget extends BasicWidget { | ||||
|  | ||||
|         const latestVersion = await this.fetchLatestVersion(); | ||||
|         this.updateAvailableWidget.updateVersionStatus(latestVersion); | ||||
|         // Show "click to download" button in options menu if there's a new version available | ||||
|         this.$updateToLatestVersionButton.toggle(utils.isUpdateAvailable(latestVersion, glob.triliumVersion)); | ||||
|         this.$updateToLatestVersionButton.find(".version-text").text(`Version ${latestVersion} is available, click to download.`); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user