Skip to content

Commit

Permalink
Remove unused references to sortControlIsHidden (#315)
Browse files Browse the repository at this point in the history
Remove `sortControlIsHidden` artifacts
  • Loading branch information
jeffdaley authored Sep 1, 2023
1 parent 05053c2 commit 3338f3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
7 changes: 2 additions & 5 deletions web/app/components/header/index.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<header class="bg-color-page-faint border-b border-b-color-border-faint mb-7">
<header class="mb-7 border-b border-b-color-border-faint bg-color-page-faint">
<Header::Nav />
</header>

<Header::Toolbar
@facets={{@facets}}
@sortControlIsHidden={{@sortControlIsHidden}}
/>
<Header::Toolbar @facets={{@facets}} />
3 changes: 1 addition & 2 deletions web/app/components/header/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { FacetDropdownGroups } from "hermes/types/facets";

interface HeaderComponentSignature {
Args: {
facets: FacetDropdownGroups;
sortControlIsHidden?: boolean;
facets?: FacetDropdownGroups;
};
}

Expand Down
3 changes: 1 addition & 2 deletions web/app/templates/authenticated/results.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{! @glint-nocheck: not typesafe yet }}
{{page-title "Search Results"}}

<Header @facets={{@model.facets}} @sortControlIsHidden={{true}} />
<Header @facets={{@model.facets}} />

<Results @results={{@model.results}} @query={{this.q}} />

0 comments on commit 3338f3f

Please sign in to comment.