Skip to content

Commit

Permalink
chore: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia committed Sep 10, 2024
1 parent c1f213b commit 95b808e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/components/automation/auto-close-automation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const AutoCloseAutomation: React.FC<Props> = observer((props) => {

const defaultState = projectStates?.find((s) => s.group === "cancelled")?.id || null;

const selectedOption = projectStates?.find((s) => s.id === currentProjectDetails?.default_state ?? defaultState);
const selectedOption = projectStates?.find((s) => s.id === (currentProjectDetails?.default_state ?? defaultState));
const currentDefaultState = projectStates?.find((s) => s.id === defaultState);

const initialValues: Partial<IProject> = {
Expand Down

0 comments on commit 95b808e

Please sign in to comment.