fix Discord and Download link are visible even if not activated in home menu
This commit is contained in:
parent
d76526f5e9
commit
7233fb5fbf
1 changed files with 3 additions and 3 deletions
|
|
@ -1415,9 +1415,9 @@ export const sidebarSectionSettings = {
|
||||||
{ id: 'sidebar-nav-donate', check: this.shouldShowDonate() },
|
{ id: 'sidebar-nav-donate', check: this.shouldShowDonate() },
|
||||||
{ id: 'sidebar-nav-settings', check: this.shouldShowSettings() },
|
{ id: 'sidebar-nav-settings', check: this.shouldShowSettings() },
|
||||||
{ id: 'sidebar-nav-account', check: this.shouldShowAccount() },
|
{ id: 'sidebar-nav-account', check: this.shouldShowAccount() },
|
||||||
{ id: 'sidebar-nav-about', check: this.shouldShowAbout() },
|
{ id: 'sidebar-nav-about-bottom', check: this.shouldShowAbout() },
|
||||||
{ id: 'sidebar-nav-download', check: this.shouldShowDownload() },
|
{ id: 'sidebar-nav-download-bottom', check: this.shouldShowDownload() },
|
||||||
{ id: 'sidebar-nav-discord', check: this.shouldShowDiscord() },
|
{ id: 'sidebar-nav-discordbtn', check: this.shouldShowDiscord() },
|
||||||
];
|
];
|
||||||
|
|
||||||
items.forEach(({ id, check }) => {
|
items.forEach(({ id, check }) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue