From 5545d58490913ced95bc4881a3d1c158ec3b2116 Mon Sep 17 00:00:00 2001 From: Trey <73353716+TreyWW@users.noreply.github.com> Date: Tue, 31 Dec 2024 12:20:21 +0000 Subject: [PATCH] Fixed modals Signed-off-by: Trey <73353716+TreyWW@users.noreply.github.com> --- backend/modals.py | 4 ++++ .../templates/modals/generate_api_key.html | 2 +- .../templates/pages/reports/dashboard.html | 24 +++++++++---------- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/backend/modals.py b/backend/modals.py index 9016591cb..53c56a8e6 100644 --- a/backend/modals.py +++ b/backend/modals.py @@ -271,3 +271,7 @@ def get(self, request: WebRequest): context["email_list"] = list(context["email_list"]) + context["selected_clients"] return self.Response(request, context) + + +class GenerateReportModal(Modal): + modal_name = "generate_report" diff --git a/frontend/templates/modals/generate_api_key.html b/frontend/templates/modals/generate_api_key.html index e0394b9cc..4fab88b9d 100644 --- a/frontend/templates/modals/generate_api_key.html +++ b/frontend/templates/modals/generate_api_key.html @@ -3,7 +3,7 @@ {% fill "content" %}