Skip to content

Commit 08e306d

Browse files
Merge pull request #1909 from Jr7468/dev
Changed result handling
2 parents 81730c2 + 709b15f commit 08e306d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/views/email-exchange/administration/EditMailboxPermissions.jsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -953,11 +953,7 @@ const OutOfOffice = () => {
953953
</CCol>
954954
</CRow>
955955
{postResults.isSuccess && (
956-
<CCallout color="success">
957-
{postResults.data.Results.map((result, idx) => (
958-
<li key={idx}>{result}</li>
959-
))}
960-
</CCallout>
956+
<CCallout color="success">{postResults.data?.Results}</CCallout>
961957
)}
962958
</CForm>
963959
)

0 commit comments

Comments
 (0)