Skip to content

Commit

Permalink
[101] Improve library dropdown selector population
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinHeist committed Nov 25, 2024
1 parent bb9d0fd commit e55516f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions app/templates/series.html
Original file line number Diff line number Diff line change
Expand Up @@ -1775,9 +1775,12 @@ <h3 class="ui {{ status }} dividing header">{{ connection.name }}</h3>
<div class="default text">Select a Library</div>
<i class="dropdown icon"></i>
<div class="menu">
{% for library in preferences.libraries[connection.id] %}
<div class="item" data-value="{{ library }}">{{ library }}</div>
{% endfor %}
{% if preferences.libraries[connection.id] %}
{% set libraries = preferences.libraries[connection.id][1] %}
{% for library in libraries %}
<div class="item" data-value="{{ library }}">{{ library }}</div>
{% endfor %}
{% endif %}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion modules/ref/version_webui
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0-alpha.13.0-webui100
v2.0-alpha.13.0-webui101

0 comments on commit e55516f

Please sign in to comment.