We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe55bfa commit c8cea9eCopy full SHA for c8cea9e
apps/backoffice-v2/src/lib/blocks/hooks/useDocumentBlocks/useDocumentBlocks.tsx
@@ -439,14 +439,12 @@ export const useDocumentBlocks = ({
439
const fieldValue = getFieldValue();
440
const isEditableDecision = isDoneWithRevision || !decision?.status;
441
const isIndividual = checkIsIndividual(workflow);
442
- const isEditableType = (title === 'type' && isIndividual) || title !== 'type';
443
const isEditableCategory =
444
(title === 'category' && isIndividual) || title !== 'category';
445
const isEditableField = [
446
isEditableDecision,
447
isEditable,
448
caseState.writeEnabled,
449
- isEditableType,
450
isEditableCategory,
451
].every(Boolean);
452
0 commit comments