Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Janno Tilk committed Nov 29, 2021
1 parent 3d7ad9b commit b11dcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/DataTypes/Object.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class RjvObject extends React.PureComponent {
if (Array.isArray(value)) {
return '[...]';
}

if (value.length > collapseStringsAfterLength) {
return value.substring(0, collapseStringsAfterLength) + '...';
}
Expand Down

0 comments on commit b11dcf1

Please sign in to comment.