File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -499,17 +499,7 @@ export default function CippTable({
499
499
{ ( massResults . length >= 1 || loopRunning ) && (
500
500
< CCallout color = "info" >
501
501
{ massResults . map ( ( message , idx ) => {
502
- return (
503
- < li key = { idx } >
504
- {
505
- // check if message.data.Results is an array, if it is, join it.
506
-
507
- Array . isArray ( message . data . Results )
508
- ? message . data ?. Results
509
- : message . data ?. Results
510
- }
511
- </ li >
512
- )
502
+ return < li key = { idx } > { message . data ?. Results } </ li >
513
503
} ) }
514
504
{ loopRunning && (
515
505
< li >
Original file line number Diff line number Diff line change @@ -763,7 +763,7 @@ const ExcludedTenantsSettings = () => {
763
763
) }
764
764
{ refreshPermissionsResults . isSuccess && (
765
765
< CCallout color = "success" dismissible >
766
- { refreshPermissionsResults . data . map ( ( result , idx ) => (
766
+ { refreshPermissionsResults . data ?. Results . map ( ( result , idx ) => (
767
767
< li key = { idx } > { result } </ li >
768
768
) ) }
769
769
</ CCallout >
You can’t perform that action at this time.
0 commit comments