|
|
@@ -23,11 +23,13 @@ import { SessionWithTokens } from "@/config/authConfig"; // Import the correct |
|
|
type Props = { |
|
|
type Props = { |
|
|
id?: number; |
|
|
id?: number; |
|
|
defaultValues: Partial<DoDetailType> | undefined; |
|
|
defaultValues: Partial<DoDetailType> | undefined; |
|
|
|
|
|
workbenchRelease?: boolean; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const DoDetail: React.FC<Props> = ({ |
|
|
const DoDetail: React.FC<Props> = ({ |
|
|
defaultValues, |
|
|
defaultValues, |
|
|
id, |
|
|
id, |
|
|
|
|
|
workbenchRelease = true, |
|
|
}) => { |
|
|
}) => { |
|
|
const { t } = useTranslation("do") |
|
|
const { t } = useTranslation("do") |
|
|
const router = useRouter(); |
|
|
const router = useRouter(); |
|
|
|