Skip to content

Commit

Permalink
🐛 Unknown file name fallback for link text (#1330)
Browse files Browse the repository at this point in the history
- File URI’s not showing up when they are in a dependency (unable to
handle konveyor-jdt scheme)
- This is a temporary workaround allowing the violation to still be
viewed when there is no available file name. Need more info to be able
to pull the file name from another place within the dependency.

Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Sep 11, 2023
1 parent 2a4eb97 commit 22b29a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const IssueAffectedFilesTable: React.FC<
isInline
onClick={() => setSelectedFileForDetailModal(fileReport)}
>
{fileReport.file}
{fileReport?.file || "<unknown>"}
</Button>
</Td>
<Td
Expand Down

0 comments on commit 22b29a6

Please sign in to comment.