Skip to content

Commit 4da4b8e

Browse files
Ruben van LeeuwenDutchBen
authored andcommitted
Addds comment about removal of isEmpty
1 parent 4266f96 commit 4da4b8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/orchestrator-ui-components/src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export const WfoSubscriptionProductBlock = ({
6161
);
6262
const showProductBlockValues = !isOutsideCurrentSubscription || showDetails;
6363

64+
// On previous attempts lodash isEmpty was used here but it signals integer values and false as empty so we don't use it here
6465
const isEmpty = (value: unknown) => {
6566
return (
6667
value === null ||

0 commit comments

Comments
 (0)