Skip to content

Commit

Permalink
fix(orga): linter
Browse files Browse the repository at this point in the history
  • Loading branch information
xav-car committed Jan 10, 2025
1 parent 9c6a274 commit ebcf058
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions orga/app/components/places/title.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ function todayDate() {
<span class="places-header-date">{{t "pages.places.before-date"}}
{{todayDate}}</span>
</:tools>
<:notification-alert>
<:notificationAlert>
<PlacesLotAlert @placesLots={{@placesLots}} />
<CapacityAlert @occupied={{@occupied}} @total={{@total}} />
</:notification-alert>
</:notificationAlert>
</PageTitle>
</template>
4 changes: 2 additions & 2 deletions orga/app/components/ui/page-title.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ function setTitleClasses(spaceBetweenTools, centerTitle) {
{{/if}}
</div>

{{#if (has-block "notification-alert")}}
{{#if (has-block "notificationAlert")}}
<div class="page-title__notification-alert">
{{yield to="notification-alert"}}
{{yield to="notificationAlert"}}
</div>
{{/if}}

Expand Down
2 changes: 1 addition & 1 deletion orga/app/styles/components/ui/page-title.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
}

&__notification-alert {
margin-bottom: var(--pix-spacing-6x);
display: flex;
flex-direction: column;
gap: var(--pix-spacing-2x);
margin-bottom: var(--pix-spacing-6x);
}
}

Expand Down

0 comments on commit ebcf058

Please sign in to comment.