Merge pull request #1975 from TriliumNext/update-button

fix(global_menu): Fix update button is blank
This commit is contained in:
Elian Doran 2025-05-20 10:50:49 +03:00 committed by GitHub
commit 4985b043fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,10 +53,6 @@ const TPL = /*html*/`
pointer-events: none; pointer-events: none;
} }
.update-to-latest-version-button {
display: none;
}
.global-menu .zoom-container { .global-menu .zoom-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -235,7 +231,7 @@ const TPL = /*html*/`
${t("global_menu.about")} ${t("global_menu.about")}
</li> </li>
<li class="dropdown-item update-to-latest-version-button" data-trigger-command="downloadLatestVersion"> <li class="dropdown-item update-to-latest-version-button" style="display: none;" data-trigger-command="downloadLatestVersion">
<span class="bx bx-sync"></span> <span class="bx bx-sync"></span>
<span class="version-text"></span> <span class="version-text"></span>