fix: incorrect condition
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
Methapon2001 2025-06-13 15:08:03 +07:00
parent 060b5980dd
commit 1b475933da

View file

@ -822,14 +822,14 @@ function toEmployee(employee: RequestData['employee']) {
:readonly="
data.requestDataStatus === RequestDataStatus.Canceled ||
(responsibleList &&
(!!responsibleList[pageState.currentStep]?.user?.length ||
!!responsibleList[pageState.currentStep]?.group?.length) &&
!responsibleList[pageState.currentStep]?.user.find(
(v) => v.id === getUserId(),
) &&
!responsibleList[pageState.currentStep]?.group.some((v) =>
currentUserGroup.includes(v),
)) ||
(!!responsibleList[pageState.currentStep]?.user?.length &&
!!responsibleList[pageState.currentStep]?.user?.length)
))
"
:order-able="value._messengerExpansion"
:installment-info="getInstallmentInfo()"