File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,9 @@ <h4>Vendors</h4>
52
52
< form class ="form-inline ">
53
53
< div class ="form-inline ">
54
54
< label for ="flag "> Environment:</ label >
55
- < select name ="flag ">
55
+ < select name ="flag " onchange =" this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value); " >
56
56
@flags.map(flagSelect)
57
57
</ select >
58
-
59
- < input class ="btn btn-primary " type ="submit "/>
60
58
</ div >
61
59
</ form >
62
60
</ div >
@@ -144,7 +142,7 @@ <h4>Vendors</h4>
144
142
}
145
143
146
144
@flagSelect(flag: SlugInfoFlag) = {
147
- < option value =@{flag.asString.toLowerCase.trim} @{if(flag == selected) "selected"}>
145
+ < option value =" @{flag.asString.toLowerCase.trim} " @{if(flag.asString == selected.asString ) "selected"}>
148
146
@flag.asString.trim
149
147
</ option >
150
148
}
You can’t perform that action at this time.
0 commit comments