Skip to content

Commit

Permalink
fix(components): fix SwirlAdminLayout heading levels when no appName …
Browse files Browse the repository at this point in the history
…is set
  • Loading branch information
Sqrrl committed Nov 14, 2023
1 parent 3992116 commit 1a92500
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/popular-laws-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@getflip/swirl-components": patch
"@getflip/swirl-components-angular": patch
"@getflip/swirl-components-react": patch
---

Fix swirl-console-layout heading levels when no appName is set
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export class SwirlConsoleLayout {
{Boolean(this.heading) && (
<div class="console-layout__heading-container">
<swirl-heading
as="h2"
as={Boolean(this.appName) ? "h2" : "h1"}
class="console-layout__heading"
headingId="heading"
level={1}
Expand Down

0 comments on commit 1a92500

Please sign in to comment.