fix: typescript upgrade build errors
This commit is contained in:
parent
99ab274216
commit
71f3c5c12a
5 changed files with 794 additions and 904 deletions
|
|
@ -49,7 +49,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> = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue