Skip to content

Commit 66aff95

Browse files
Chore: hide the top right social link icons when at 'Schedule' (#8764)
* Chore: do hide the top right session link icon * Revert: wrong hide the top right session link icon * Fix: info to schedule tab shows two active effect * Chore: hide social links when at schedule #8678 * Style: auto formated by pre-commit lint * Style: remove unnecessary comment * Chore: remove non-issue related code * Style: format revert --------- Co-authored-by: cweitat <[email protected]>
1 parent a466417 commit 66aff95

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/components/forms/orders/order-form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ export default Component.extend(FormMixin, {
493493
},
494494
taxBusinessInfo: {
495495
identifier : 'taxBusinessInfo',
496-
optional: true
496+
optional : true
497497
},
498498
address: {
499499
identifier : 'address',

app/templates/public.hbs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@
5959
class="ui basic segment m-0 p-0" />
6060
<Public::AddToCalender @event={{this.model}} @location={{this.headerLocation}}/>
6161
{{#if (not-eq this.session.currentRouteName 'public.exhibition.view')}}
62-
<Public::SocialLinks @externalUrl={{this.model.externalEventUrl}} @socialLinks={{this.model.socialLinks}}/>
62+
{{#if (not-eq this.router.currentRoute.name 'public.sessions.index')}}
63+
<Public::SocialLinks @externalUrl={{this.model.externalEventUrl}} @socialLinks={{this.model.socialLinks}}/>
64+
{{/if}}
6365
{{#if (and this.device.isMobile this.twitterLink)}}
6466
<div class="item">
6567
<div class="twitter content">

0 commit comments

Comments
 (0)