diff --git a/horilla_automations/views/cbvs.py b/horilla_automations/views/cbvs.py index ce886dc68..184cb1dac 100644 --- a/horilla_automations/views/cbvs.py +++ b/horilla_automations/views/cbvs.py @@ -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" diff --git a/horilla_views/templates/generic/horilla_section.html b/horilla_views/templates/generic/horilla_section.html index 1b95eecb1..a7b231fcd 100644 --- a/horilla_views/templates/generic/horilla_section.html +++ b/horilla_views/templates/generic/horilla_section.html @@ -6,7 +6,7 @@ {% endfor %} {% for path in script_static_paths %} - + {% endfor %}