[FIX] AUTOMATIONS: Static not loading in mail automation
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user