Selected based on setting
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2019-03-07 21:38:41 +01:00
parent 2ab2ac5e3c
commit 46f689725d
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -72,9 +72,9 @@
<div class="select">
<label class="label" for="type">Tracking Regex</label>
<select name="type" id="type">
<option value="null">Null</option>
<option value="sorted-set">Sorted Set</option>
<option value="stream">Streams</option>
<option value="null" {{if eq (.CurrentSetting.ChannelType) "null" }}selected{{end}}>Null</option>
<option value="sorted-set" {{if eq (.CurrentSetting.ChannelType) "sorted-set" }}selected{{end}}>Sorted Set</option>
<option value="stream" {{if eq (.CurrentSetting.ChannelType) "stream" }}selected{{end}}>Streams</option>
</select>
</div>
<input type="text" class="input" name="include_regex" value="{{ .CurrentSetting.IncludeRegex }}" placeholder="enter regex to track items" />