pull v1.2.8 fixes when applicable

This commit is contained in:
bunkerity
2021-07-22 14:47:37 +02:00
parent 8bb6676f58
commit a1b9010d9e
4 changed files with 18 additions and 21 deletions

View File

@@ -26,7 +26,7 @@
{% if param["type"] != "multiple" and param["context"] == "multisite" %}
<div class="row mb-3" id="form-new-{{ param["id"] }}">
{% set default = {"value": param["default"]} %}
{% if param["env"] in config["CONFIG"].get_config() %}
{% if param["env"] in config["CONFIG"].get_config() and param["env"] != "SERVER_NAME" %}
{% set x = default.update({"value": config["CONFIG"].get_config()[param["env"]]}) %}
{% endif %}
{{ form_service_gen("form-new-" + param["id"], param["label"], param["type"], default["value"], param["env"])|safe }}
@@ -58,4 +58,4 @@
</div>
</div>
</div>
</div>
</div>