[st] - 일정등록, 입력단 지난검증결과 알림 뱃지, 로그 상세조회, 검토단 cell style 적용
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import type { StatisticsInputCommonInfoBase } from "@/entities/statistics/model/statistics-interface";
|
||||
|
||||
export function isVerificationFailedFromCommonInfo(
|
||||
commonInfo: Pick<StatisticsInputCommonInfoBase, "isVerificationFailed"> | null | undefined,
|
||||
): boolean {
|
||||
return commonInfo?.isVerificationFailed === true;
|
||||
}
|
||||
|
||||
export function patchVerificationFailedByTab(
|
||||
prev: Map<string, boolean>,
|
||||
tabKey: string,
|
||||
commonInfo: Pick<StatisticsInputCommonInfoBase, "isVerificationFailed"> | null | undefined,
|
||||
): Map<string, boolean> {
|
||||
const next = new Map(prev);
|
||||
next.set(tabKey, isVerificationFailedFromCommonInfo(commonInfo));
|
||||
return next;
|
||||
}
|
||||
Reference in New Issue
Block a user