From c574e5e84546353ed5b0c867f1d8298bbad937fc Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 30 Dec 2022 05:40:52 -0800 Subject: [PATCH 1/5] Add min-width to SearchDialog --- components/SearchModal/index.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/components/SearchModal/index.scss b/components/SearchModal/index.scss index 288a4456..0c51befe 100644 --- a/components/SearchModal/index.scss +++ b/components/SearchModal/index.scss @@ -3,6 +3,7 @@ display: flex; flex-direction: column; min-height: 430px; + min-width: 580px; height: 480px; gap: 0; padding: 0; From 18208a95b79b9da276be569f4c42b9b8ac5d1037 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 30 Dec 2022 05:48:17 -0800 Subject: [PATCH 2/5] Fix empty state for Job dropdown --- components/JobDropdown/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/JobDropdown/index.tsx b/components/JobDropdown/index.tsx index bc863821..30a76750 100644 --- a/components/JobDropdown/index.tsx +++ b/components/JobDropdown/index.tsx @@ -41,7 +41,9 @@ const JobDropdown = React.forwardRef( // Set current job from state on mount useEffect(() => { - setCurrentJob(party.job) + if (party.job.id !== '-1') { + setCurrentJob(party.job) + } }, []) // Organize jobs into groups on mount @@ -107,7 +109,6 @@ const JobDropdown = React.forwardRef( return (