chore: always show deck link
This commit is contained in:
parent
88766c6c08
commit
68583e24b8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user