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