适配来源消息只读任务展示
This commit is contained in:
@@ -22,6 +22,10 @@ export function formatReservationTaskTypeSummary(
|
||||
return `${typeLabel} / ${translateStableCode(t, 'taskSubtype', taskSubtype, 'common.unknownTaskSubtype')}`
|
||||
}
|
||||
|
||||
export function isReservationSourceMessageOnlyTask(...codes: Array<string | null | undefined>): boolean {
|
||||
return codes.some((code) => normalizeStableCode(code) === 'SOURCE_MESSAGE_ONLY')
|
||||
}
|
||||
|
||||
export function formatReservationReadonlyReason(
|
||||
t: ReservationTranslator,
|
||||
reasonCode: string | null | undefined,
|
||||
|
||||
Reference in New Issue
Block a user