chore: always show deck link
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Kieran 2024-01-26 13:30:48 +00:00
parent 88766c6c08
commit 68583e24b8
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 0 additions and 5 deletions

View File

@ -98,8 +98,6 @@ export default function NavSidebar({ narrow = false }: { narrow: boolean }) {
</span>
);
const showDeck = CONFIG.showDeck || !(CONFIG.deckSubKind !== undefined && (sub?.type ?? -1) < CONFIG.deckSubKind);
return (
<div className={className}>
<LogoHeader showText={!narrow} />
@ -114,9 +112,6 @@ export default function NavSidebar({ narrow = false }: { narrow: boolean }) {
if ((CONFIG.hideFromNavbar ?? []).includes(a.link)) {
return false;
}
if (a.link == "/deck" && !showDeck) {
return false;
}
if (readonly && a.hideReadOnly) {
return false;
}