Skip to content

Commit c8cea9e

Browse files
authored
refactor(backoffice-vs): removed disable state for the type dropdown (#2880)
1 parent fe55bfa commit c8cea9e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/backoffice-v2/src/lib/blocks/hooks/useDocumentBlocks/useDocumentBlocks.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,12 @@ export const useDocumentBlocks = ({
439439
const fieldValue = getFieldValue();
440440
const isEditableDecision = isDoneWithRevision || !decision?.status;
441441
const isIndividual = checkIsIndividual(workflow);
442-
const isEditableType = (title === 'type' && isIndividual) || title !== 'type';
443442
const isEditableCategory =
444443
(title === 'category' && isIndividual) || title !== 'category';
445444
const isEditableField = [
446445
isEditableDecision,
447446
isEditable,
448447
caseState.writeEnabled,
449-
isEditableType,
450448
isEditableCategory,
451449
].every(Boolean);
452450

0 commit comments

Comments
 (0)