mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-06-09 15:07:51 +00:00
fix: remove transition restrict logic
This commit is contained in:
@@ -463,13 +463,16 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
||||
}, [selectedKandang]);
|
||||
|
||||
// ===== TRANSITION RESTRICTION LOGIC =====
|
||||
const isTransitionPeriod = useMemo(() => {
|
||||
return (
|
||||
initialValues?.is_transition ??
|
||||
projectFlockKandangLookup?.is_transition ??
|
||||
false
|
||||
);
|
||||
}, [initialValues, projectFlockKandangLookup]);
|
||||
// const isTransitionPeriod = useMemo(() => {
|
||||
// return (
|
||||
// initialValues?.is_transition ??
|
||||
// projectFlockKandangLookup?.is_transition ??
|
||||
// false
|
||||
// );
|
||||
// }, [initialValues, projectFlockKandangLookup]);
|
||||
|
||||
// set to false by request: 30 May 2026, 09:11
|
||||
const isTransitionPeriod = false;
|
||||
|
||||
const recordingRestriction = useMemo(() => {
|
||||
let isLaying: boolean;
|
||||
|
||||
Reference in New Issue
Block a user