Skip to content

Build your personal knowledge base with Trilium Notes

Fix the update to latest version button in the dropdown menu, now it doesn't appear at all if update checking was disabled

DynamoFox09641d9465fb
diff --git a/src/public/app/widgets/buttons/global_menu.js b/src/public/app/widgets/buttons/global_menu.js
index efc0c03966..c13b952bb9 100644
--- a/src/public/app/widgets/buttons/global_menu.js
+++ b/src/public/app/widgets/buttons/global_menu.js
@@ -38,6 +38,10 @@ const TPL = `
pointer-events: none;
}
+
+ .update-to-latest-version-button {
+ display: none;
+ }
</style>
<button type="button" data-toggle="dropdown" data-placement="right"