Skip to content

Commit da785b2

Browse files
PR correction
1 parent 37051dc commit da785b2

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/shared/components/ResourceDetails/ResourceDetails.js

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,12 @@ function Resource({
293293
customStatusColumns?.length ? (
294294
<>
295295
{customStatusColumns
296-
?.filter(col => {
297-
return (
296+
?.filter(
297+
col =>
298298
filterColumnByVisibility(col) &&
299299
!col?.conditionComponent &&
300-
!col?.fullWidth
301-
);
302-
})
300+
!col?.fullWidth,
301+
)
303302
?.map(col => (
304303
<DynamicPageComponent.Column
305304
key={col.header}
@@ -315,14 +314,13 @@ function Resource({
315314
customStatusColumns?.length ? (
316315
<>
317316
{customStatusColumns
318-
?.filter(col => {
319-
return (
317+
?.filter(
318+
col =>
320319
filterColumnByVisibility(col) &&
321320
!col?.conditionComponent &&
322321
col?.fullWidth &&
323-
col?.fullWidth === true
324-
);
325-
})
322+
col?.fullWidth === true,
323+
)
326324
?.map(col => (
327325
<DynamicPageComponent.Column
328326
key={col.header}

0 commit comments

Comments
 (0)