Fixed name of node at Tweaks
This commit is contained in:
parent
36a3fda059
commit
de1e6bdc49
2 changed files with 20 additions and 4 deletions
|
|
@ -182,9 +182,16 @@ export default function IOView({
|
||||||
<AccordionComponent
|
<AccordionComponent
|
||||||
trigger={
|
trigger={
|
||||||
<div className="file-component-badge-div">
|
<div className="file-component-badge-div">
|
||||||
|
<ShadTooltip
|
||||||
|
content={input.id}
|
||||||
|
styleClasses="z-50"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
<Badge variant="gray" size="md">
|
<Badge variant="gray" size="md">
|
||||||
{node.data.node.display_name}
|
{node.data.node.display_name}
|
||||||
</Badge>
|
</Badge>
|
||||||
|
</div>
|
||||||
|
</ShadTooltip>
|
||||||
<div
|
<div
|
||||||
className="-mb-1 pr-4"
|
className="-mb-1 pr-4"
|
||||||
onClick={(event) => {
|
onClick={(event) => {
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ import {
|
||||||
hasDuplicateKeys,
|
hasDuplicateKeys,
|
||||||
} from "../../utils/reactflowUtils";
|
} from "../../utils/reactflowUtils";
|
||||||
import { classNames } from "../../utils/utils";
|
import { classNames } from "../../utils/utils";
|
||||||
|
import ShadTooltip from "../ShadTooltipComponent";
|
||||||
import DictComponent from "../dictComponent";
|
import DictComponent from "../dictComponent";
|
||||||
import IconComponent from "../genericIconComponent";
|
import IconComponent from "../genericIconComponent";
|
||||||
import InputGlobalComponent from "../inputGlobalComponent";
|
import InputGlobalComponent from "../inputGlobalComponent";
|
||||||
|
|
@ -216,7 +217,15 @@ export default function CodeTabsComponent({
|
||||||
node["data"]["id"]
|
node["data"]["id"]
|
||||||
) && (
|
) && (
|
||||||
<AccordionComponent
|
<AccordionComponent
|
||||||
trigger={node["data"]["id"]}
|
trigger={
|
||||||
|
<ShadTooltip
|
||||||
|
side="top"
|
||||||
|
styleClasses="z-50"
|
||||||
|
content={node["data"]["id"]}
|
||||||
|
>
|
||||||
|
<div>{node["data"]["node"]["display_name"]}</div>
|
||||||
|
</ShadTooltip>
|
||||||
|
}
|
||||||
open={openAccordion}
|
open={openAccordion}
|
||||||
keyValue={node["data"]["id"]}
|
keyValue={node["data"]["id"]}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue