Skip to content

Commit c95b2c4

Browse files
remove-codacy-error
1 parent 0209646 commit c95b2c4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

app/components/explore/side-bar.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,21 @@ export default class SideBar extends Component {
5050

5151
@action
5252
setLocationType(val) {
53-
if(this.is_online === 'true') {
54-
if(this.eventLocationType === null) {
53+
if (this.is_online === 'true') {
54+
if (this.eventLocationType === null) {
5555
this.set('is_online', val === 'venue' ? 'false' : 'true');
5656
}
5757
else {
58-
if(this.eventLocationType === val) {
58+
if (this.eventLocationType === val) {
5959
this.set('is_online', null);
6060
}
61-
else if(val === 'venue') {
61+
else if (val === 'venue') {
6262
this.set('is_online', 'false');
6363
}
6464
}
6565
}
66-
else if(this.is_online === 'false') {
67-
if(this.eventLocationType === null) {
66+
else if (this.is_online === 'false') {
67+
if (this.eventLocationType === null) {
6868
this.set('is_online', val === 'venue' ? 'false' : 'true');
6969
}
7070
else {
@@ -75,7 +75,7 @@ export default class SideBar extends Component {
7575
this.set('is_online', val === 'venue' ? 'false' : 'true');
7676
}
7777
this.set('eventLocationType', this.eventLocationType === val ? null : val);
78-
this.set('location', null)
78+
this.set('location', null);
7979
}
8080

8181
@action

app/routes/explore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export default class ExploreRoute extends Route {
7676
filterOptions.push({
7777
name : 'online',
7878
op : 'eq',
79-
val : params.is_online
79+
val : params.is_online
8080
});
8181
}
8282
if (params.location) {

0 commit comments

Comments
 (0)