Skip to content

Commit

Permalink
Fix issue where 'Get More' would automatically be selected and open t…
Browse files Browse the repository at this point in the history
…he URL if no subplugins were installed.
  • Loading branch information
kantlivelong committed May 11, 2021
1 parent ed40848 commit d6de955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octoprint_psucontrol/templates/psucontrol_settings.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<label class="control-label">Switching Plugin</label>
<div class="controls">
<select data-bind="value: settings.plugins.psucontrol.switchingPlugin">
<option value="" disabled>Choose...</option>
<option value="" disabled selected>Choose...</option>
{% for item in plugin_psucontrol_availablePlugins %}
<option value="{{ item['pluginIdentifier'] }}">{{ item['displayName'] }}</option>
{% endfor %}
Expand Down Expand Up @@ -161,7 +161,7 @@
<label class="control-label">Sensing Plugin</label>
<div class="controls">
<select data-bind="value: settings.plugins.psucontrol.sensingPlugin">
<option value="" disabled>Choose...</option>
<option value="" disabled selected>Choose...</option>
{% for item in plugin_psucontrol_availablePlugins %}
<option value="{{ item['pluginIdentifier'] }}">{{ item['displayName'] }}</option>
{% endfor %}
Expand Down

0 comments on commit d6de955

Please sign in to comment.