Skip to content

Commit b384402

Browse files
anovazzi1autofix-ci[bot]ogabrielluizgithub-actions[bot]
authored
fix name on EditNodeModal (#2434)
* fix name on EditNodeModal * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Gabriel Luiz Freitas Almeida <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f8cbd1e commit b384402

File tree

1 file changed

+1
-1
lines changed
  • src/frontend/src/modals/editNodeModal

1 file changed

+1
-1
lines changed

src/frontend/src/modals/editNodeModal/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const EditNodeModal = forwardRef(
6969
<></>
7070
</BaseModal.Trigger>
7171
<BaseModal.Header description={data.node?.description!}>
72-
<span className="pr-2">{data.type}</span>
72+
<span className="pr-2">{data.node?.display_name ?? data.type}</span>
7373
<div>
7474
<Badge size="sm" variant={isDark ? "gray" : "secondary"}>
7575
ID: {data.id}

0 commit comments

Comments
 (0)