Skip to content

Commit

Permalink
fix: protect against null in copytoclipboard (#18716)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin authored Nov 17, 2023
1 parent 0137b9d commit dd55d62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export function PropertiesTable({
title: '',
width: 0,
render: function Copy(_, item: any): JSX.Element | false {
if (Array.isArray(item[1]) || item[1] instanceof Object) {
if (Array.isArray(item[1]) || item[1] instanceof Object || item[1] === null) {
return false
}
return (
Expand Down

0 comments on commit dd55d62

Please sign in to comment.