File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
src/components/navbar/components/configure-kcapp-modal Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,11 @@ module.exports = {
72
72
localStorage . set ( 'button-layout' , this . state . buttonLayout ) ;
73
73
74
74
this . state . venueId = parseInt ( document . getElementById ( "venueSelect" ) . value ) ;
75
- localStorage . set ( 'venue_id' , this . state . venueId ) ;
75
+ if ( this . state . venueId === - 1 ) {
76
+ localStorage . remove ( 'venue_id' ) ;
77
+ } else {
78
+ localStorage . set ( 'venue_id' , this . state . venueId ) ;
79
+ }
76
80
77
81
localStorage . set ( 'confirm-busts' , this . state . confirmBusts ) ;
78
82
localStorage . set ( 'auto-finish-legs' , this . state . autoFinishLegs ) ;
Original file line number Diff line number Diff line change 66
66
<div class = " block-container-with-header" >
67
67
<div class = " form-group form-check" style = " margin-bottom: 1em;" >
68
68
<select id = ' venueSelect' class = " form-select" style = " width: 100%" >
69
+ <option value = - 1 selected = (- 1 === state .venueId ) >- </option >
69
70
<for |venue| of = state .venues >
70
71
<option value = venue .id selected = (venue .id === state .venueId ) >${venue .name }</option >
71
72
</for >
You can’t perform that action at this time.
0 commit comments