Skip to content

Commit 5a1c97d

Browse files
authored
feature-9103: Remove Search Box on Mobile Event Pages Menu (#9112)
* feature-9103: Remove Search Box on Mobile Event Pages Menu * feature-9103: Remove Search Box on Mobile Event Pages Menu
1 parent 764c26e commit 5a1c97d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/components/side-bar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export default class SideBar extends Component {
2727
}
2828
}
2929

30-
3130
@computed('session.currentRouteName')
3231
get isEventPageRoute() {
3332
const currentRouteName = String(this.session.currentRouteName);

app/templates/components/side-bar.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<div class="ui left inverted vertical menu sidebar {{if this.sidebarVisible 'visible'}}">
2+
{{#if (not this.isEventPageRoute)}}
23
<div class="search-bar d-flex items-center space-between m-2 p-2">
34
<Input @class="prompt" @type="text" @key-up={{action "handleKeyPress"}} @value={{this.event_name}} placeholder={{t "Search"}} />
45
<i class="search icon"></i>
56
</div>
7+
{{/if}}
68
{{#if this.session.isAuthenticated}}
79
<UiAccordion>
810
<div class="item ui {{if this.isEventPageRoute 'title'}}">

0 commit comments

Comments
 (0)