Skip to content

Commit

Permalink
Fixed bug in SNS
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms committed Oct 25, 2023
1 parent dd075c1 commit 66c528c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class Tag extends React.Component<TagProps> {
return "Incomplete";
} else {
const exactlyMatchedNodePaths = nodeSelection.exactlyMatchedNodePaths();
if (exactlyMatchedNodePaths.length === -1 || exactlyMatchedNodePaths.length <= maxNumSelectedNodes) {
if (maxNumSelectedNodes === -1 || exactlyMatchedNodePaths.length <= maxNumSelectedNodes) {
return exactlyMatchedNodePaths.join("\n");
}
return `Matched ${exactlyMatchedNodePaths.length} node${
Expand Down

0 comments on commit 66c528c

Please sign in to comment.