fix: show guest access button only with relevant config being set

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2023-10-07 17:49:47 +02:00
parent cd68794157
commit 792f4b7dbc

View file

@ -21,6 +21,10 @@ export const GuestCard: React.FC = () => {
useTranslation()
if (guestAccessLevel === GuestAccessLevel.DENY) {
return null
}
return (
<Card>
<Card.Body>