Skip to content

Commit

Permalink
bugfix: KbMatchesActionCellRenderer render logic
Browse files Browse the repository at this point in the history
DEVSU-2049
  • Loading branch information
kttkjl committed Oct 14, 2023
1 parent 9b7e31b commit 80d22c2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const KbMatchesActionCellRenderer = (props: ActionCellRendererProps) => {
evidenceLevelsResp = await api.get('/graphkb/evidence-levels', {}).request();
setIprEvidenceLevels(evidenceLevelsResp.result ?? null);
iprEvidenceLevelRid = evidenceLevelsResp?.result.find((res) => res.displayName === iprEvidenceLevel)?.['@rid'];
} else {
iprEvidenceLevelRid = iprEvidenceLevels.find((res) => res.displayName === iprEvidenceLevel)?.['@rid'];
}
const { result } = await api.get(`/graphkb/statements/${(selectedKbStatementId ?? kbStatementId as string).replace('#', '')}`, {}).request();

Expand Down

0 comments on commit 80d22c2

Please sign in to comment.