+
+
+ {approvals.length}
+
+
+ {strings.ApprovalItemsLabel}
+
+
+
+ (
+
+ {value.title}
+
+ )
+ },
+ {
+ key: 'requestDate',
+ name: strings.ApprovalRequestDateLabel,
+ fieldName: 'requestDate',
+ data: 'string',
+ minWidth: 160,
+ isResizable: true,
+ onRender: (value) =>
+ intl.formatDate(
+ value.requestDate.replace(/([+-]\d{2}:\d{2}|Z)$/, ""),
+ {
+ year: 'numeric',
+ month: 'numeric',
+ day: 'numeric',
+ hour: 'numeric',
+ minute: 'numeric'
+ }
+ )
+ },
+ {
+ key: 'requestUser',
+ name: strings.ApprovalRequestUserLabel,
+ fieldName: 'requestUser',
+ data: 'string',
+ minWidth: 160,
+ isResizable: true
+ }
+ ]}
+ items={approvals}
+ layoutMode={DetailsListLayoutMode.justified}
+ selectionMode={SelectionMode.none} />
+
+
+ )
+ : (
+