fix Discord and Download link are visible even if not activated in home menu

This commit is contained in:
IsraelGPT 2026-02-15 11:30:04 +00:00
parent d76526f5e9
commit 7233fb5fbf

View file

@ -1415,9 +1415,9 @@ export const sidebarSectionSettings = {
{ id: 'sidebar-nav-donate', check: this.shouldShowDonate() },
{ id: 'sidebar-nav-settings', check: this.shouldShowSettings() },
{ id: 'sidebar-nav-account', check: this.shouldShowAccount() },
{ id: 'sidebar-nav-about', check: this.shouldShowAbout() },
{ id: 'sidebar-nav-download', check: this.shouldShowDownload() },
{ id: 'sidebar-nav-discord', check: this.shouldShowDiscord() },
{ id: 'sidebar-nav-about-bottom', check: this.shouldShowAbout() },
{ id: 'sidebar-nav-download-bottom', check: this.shouldShowDownload() },
{ id: 'sidebar-nav-discordbtn', check: this.shouldShowDiscord() },
];
items.forEach(({ id, check }) => {