Skip to content

Commit

Permalink
kie-issues#1636: DMN Editor throw an error opening Included Models tab (
Browse files Browse the repository at this point in the history
apache#2846)

Co-authored-by: chinnamatli kusumalatha <[email protected]>
  • Loading branch information
Kusuma04-dev and chinnamatli kusumalatha authored Jan 15, 2025
1 parent 8707a3c commit 012359c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/dmn-editor/src/includedModels/IncludedModels.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@
.kie-dmn-editor--selected-model-to-include-error {
color: var(--pf-global--danger-color--100);
}
.kie-dmn-editor--model-card-kebabtoggle-wrapper {
color: grey;
}
.kie-dmn-editor--model-card-kebabtoggle-wrapper:hover {
color: black;
}
6 changes: 3 additions & 3 deletions packages/dmn-editor/src/includedModels/IncludedModels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -611,15 +611,15 @@ function IncludedModelCard({
position={PopoverPosition.bottom}
shouldOpen={() => setRemovePopoverOpen(true)}
>
<Button
variant={"plain"}
<div
className="kie-dmn-editor--model-card-kebabtoggle-wrapper"
onClick={(ev) => {
ev.stopPropagation();
ev.preventDefault();
}}
>
<KebabToggle />
</Button>
</div>
</Popover>
</CardActions>
)}
Expand Down

0 comments on commit 012359c

Please sign in to comment.