From 47668e3b2991dab39d62b86f2d4778a4604f77da Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sat, 15 Jun 2024 20:21:43 +0200 Subject: [PATCH] Fix aside on Recorders without avatar --- src/components/AppLayout/AsideLayout.astro | 15 ++++++++++----- src/pages/[locale]/recorders/[id].astro | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/components/AppLayout/AsideLayout.astro b/src/components/AppLayout/AsideLayout.astro index ee579d0..9c5403f 100644 --- a/src/components/AppLayout/AsideLayout.astro +++ b/src/components/AppLayout/AsideLayout.astro @@ -22,9 +22,10 @@ default slot interface Props { reducedAsideWidth?: boolean; + withAside?: boolean | undefined; } -const { reducedAsideWidth = false } = Astro.props; +const { reducedAsideWidth = false, withAside = true } = Astro.props; ---