From 361ee16567b5411ce6dd4db8fface113db52f436 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Tue, 12 Dec 2023 00:44:58 +0530 Subject: [PATCH 1/2] fix: modal size not changing when switching between modes (#3082) --- .../analytics/project-modal/modal.tsx | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/web/components/analytics/project-modal/modal.tsx b/web/components/analytics/project-modal/modal.tsx index a6422c595..6dfbfdd6b 100644 --- a/web/components/analytics/project-modal/modal.tsx +++ b/web/components/analytics/project-modal/modal.tsx @@ -27,18 +27,17 @@ export const ProjectAnalyticsModal: React.FC = observer((props) => { return ( -
- - {/* TODO: fix full screen mode */} - + +
= observer((props) => { projectDetails={projectDetails} />
-
-
-
+ + +
); From 1795916042abd03694f94b4d319673b1e907d5e2 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:54:52 +0530 Subject: [PATCH 2/2] fix: debug toolbar import error when running on production setting with DEBUG on (#3085) --- apiserver/plane/urls.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apiserver/plane/urls.py b/apiserver/plane/urls.py index 75b4c2609..e437da078 100644 --- a/apiserver/plane/urls.py +++ b/apiserver/plane/urls.py @@ -19,8 +19,11 @@ urlpatterns = [ if settings.DEBUG: - import debug_toolbar + try: + import debug_toolbar - urlpatterns = [ - re_path(r"^__debug__/", include(debug_toolbar.urls)), - ] + urlpatterns + urlpatterns = [ + re_path(r"^__debug__/", include(debug_toolbar.urls)), + ] + urlpatterns + except ImportError: + pass