浏览代码

15789 make sure job completed before including config_form

Arthur 2 年之前
父节点
当前提交
781d932b2a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      netbox/templates/extras/script_result.html

+ 2 - 0
netbox/templates/extras/script_result.html

@@ -101,5 +101,7 @@
 {% endblock content %}
 
 {% block modals %}
+  {% if job.completed %}
   {% table_config_form table table_name="ObjectTable" %}
+  {% endif %}
 {% endblock modals %}