|
@@ -95,7 +95,9 @@ const SKIP_RULE_TYPES = new Set([
|
|
|
'space',
|
|
'space',
|
|
|
'divider',
|
|
'divider',
|
|
|
'html',
|
|
'html',
|
|
|
- 'vanCellGroup'
|
|
|
|
|
|
|
+ 'vanCellGroup',
|
|
|
|
|
+ 'leaveKit',
|
|
|
|
|
+ 'confirmationKit'
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
export function resolveStamp(status: string | undefined | null): {
|
|
export function resolveStamp(status: string | undefined | null): {
|
|
@@ -243,13 +245,13 @@ async function walkRules(
|
|
|
continue
|
|
continue
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (type === 'dept') {
|
|
|
|
|
|
|
+ if (type === 'dept' || type === 'ownerDept') {
|
|
|
const text = formatDeptDisplay(value)
|
|
const text = formatDeptDisplay(value)
|
|
|
out.push({ label, text: text || '-' })
|
|
out.push({ label, text: text || '-' })
|
|
|
continue
|
|
continue
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if (type === 'person') {
|
|
|
|
|
|
|
+ if (type === 'person' || type === 'ownerPerson') {
|
|
|
const text = formatPersonDisplay(value)
|
|
const text = formatPersonDisplay(value)
|
|
|
out.push({ label, text: text || '-' })
|
|
out.push({ label, text: text || '-' })
|
|
|
continue
|
|
continue
|