From 07da2bac20df0e0d02d65d0fb401d29beb2208ce Mon Sep 17 00:00:00 2001 From: Horilla Date: Tue, 24 Sep 2024 14:24:47 +0530 Subject: [PATCH] [FIX] AUTOMATIONS: Static not loading in mail automation --- horilla_automations/views/cbvs.py | 2 +- horilla_views/templates/generic/horilla_section.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %}