@@ -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 
0 commit comments