Add fallback for unknown disk type devices

This commit is contained in:
Daniel Markstedt 2023-12-01 17:49:20 +09:00
parent ab8b639b53
commit cfd402d48a
1 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,8 @@
{% if f["name"].lower().endswith(env['mo_suffixes']) %}
<option value="{{ f["name"] }}">{{ f["name"].replace(env["image_dir"], '') }}</option>
{% endif %}
{% else %}
<option value="{{ f["name"] }}">{{ f["name"].replace(env["image_dir"], '') }}</option>
{% endif %}
{% endfor %}
</select>