fix(EditNodeModal): update the display of the node type in the modal header to use the display name instead of the type property for better clarity and accuracy
This commit is contained in:
parent
c0befa83ac
commit
b65b3ce89a
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ const EditNodeModal = forwardRef(
|
|||
<BaseModal size="large-h-full" open={modalOpen} setOpen={setModalOpen}>
|
||||
<BaseModal.Trigger>{children}</BaseModal.Trigger>
|
||||
<BaseModal.Header description={myData.node?.description!}>
|
||||
<span className="pr-2">{myData.type}</span>
|
||||
<span className="pr-2">{myData.node?.display_name}</span>
|
||||
<Badge variant="secondary">ID: {myData.id}</Badge>
|
||||
</BaseModal.Header>
|
||||
<BaseModal.Content>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue