[FIX] AUTOMATIONS: Static not loading in mail automation

This commit is contained in:
Horilla
2024-09-24 14:24:47 +05:30
parent 06b2314d50
commit 07da2bac20
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ class AutomationSectionView(views.HorillaSectionView):
view_container_id = "listContainer"
script_static_paths = [
"static/automation/automation.js",
"/automation/automation.js",
]
template_name = "horilla_automations/section_view.html"

View File

@@ -6,7 +6,7 @@
<link rel="stylesheet" href="{{path}}"/>
{% endfor %}
{% for path in script_static_paths %}
<script src="{{path}}"></script>
<script src="{% static path %}"></script>
{% endfor %}