Skip to content

Commit 75af986

Browse files
authored
fix: take out search box from sponsor table (#5383)
1 parent 141a67f commit 75af986

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

app/templates/components/events/view/overview/event-sponsors.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
@currentPage={{this.page}}
1414
@pageSize={{this.per_page}}
1515
@searchQuery={{this.search}}
16+
@hideSearchBox={{true}}
1617
@sortBy={{this.sort_by}}
1718
@sortDir={{this.sort_dir}}
1819
@metaData={{this.data.meta}}

app/templates/components/tables/default.hbs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
<Tables::Utilities::PageSizeInput
55
@pageSize={{this.pageSize}} />
66
</div>
7-
<div class="eight wide right aligned column">
8-
<Tables::Utilities::SearchBox
9-
@searchQuery={{this.searchQuery}}
10-
@filterOptions={{this.filterOptions}} />
11-
</div>
7+
{{#if (not this.hideSearchBox)}}
8+
<div class="eight wide right aligned column">
9+
<Tables::Utilities::SearchBox
10+
@searchQuery={{this.searchQuery}}
11+
@filterOptions={{this.filterOptions}} />
12+
</div>
13+
{{/if}}
1214
</div>
1315
<div class="row">
1416
<EmberTable as |t|>

0 commit comments

Comments
 (0)