Skip to content

Commit

Permalink
[4312] Update the Details view when its input is deselected
Browse files Browse the repository at this point in the history
Bug: #4312
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
  • Loading branch information
pcdavid authored and sbegaudeau committed Dec 16, 2024
1 parent cdcdfa2 commit 4a63ce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ This provider is in charge of getting the icon list of the representation.
This was first fixed in 2022.3.0 but broken in 2024.3.0; it is now fixed again.
- https://github.com/eclipse-sirius/sirius-web/issues/4280[#4280] [diagram] Fix direct edit with F2 when the palette is opened
- https://github.com/eclipse-sirius/sirius-web/issues/4302[#4302] [diagram] Fix edges label flashing
- https://github.com/eclipse-sirius/sirius-web/issues/4312[#4312] [sirius-web] The _Details_ view dit not react to its input is deselected, showing potentially stale information

=== New Features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const DetailsView = ({ editingContextId, readOnly }: WorkbenchViewCompone

const { classes } = useDetailsViewStyles();

if (!state.form || complete) {
if (!state.form || complete || skip) {
return (
<div className={classes.idle}>
<Typography variant="subtitle2">No object selected</Typography>
Expand Down

0 comments on commit 4a63ce3

Please sign in to comment.