Skip to content

Commit

Permalink
feat: fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Oct 9, 2023
1 parent 562bb41 commit 03df067
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const iconMap = {
number: <NumberOutlined style={{ color: 'rgb(255, 192, 67)', marginRight: '4px' }} />,
};

const match = (a: string, b: string) => a.toLocaleLowerCase().includes(b.toLocaleLowerCase());
const match = (a: string, b: string) => String(a).toLocaleLowerCase().includes(String(b).toLocaleLowerCase());

const getTypeName = (sd: SchemaDatum) => ('nodeType' in sd ? sd.nodeType : sd.edgeType);

Expand Down

0 comments on commit 03df067

Please sign in to comment.