Skip to content

Commit

Permalink
Merge pull request #26917 from Fatcat560/22163_logEventFalseyFix
Browse files Browse the repository at this point in the history
Addon-actions: Fix falsy args printing as object - 22163
  • Loading branch information
kasperpeulen committed Apr 29, 2024
2 parents f6ecc28 + bbafa40 commit 28eb522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/addons/actions/src/components/ActionLogger/index.tsx
Expand Up @@ -50,7 +50,7 @@ export const ActionLogger = ({ actions, onClear }: ActionLoggerProps) => (
sortObjectKeys
showNonenumerable={false}
name={action.data.name}
data={action.data.args || action.data}
data={action.data.args ?? action.data}
/>
</InspectorContainer>
</Action>
Expand Down

0 comments on commit 28eb522

Please sign in to comment.