Skip to content

Commit

Permalink
Update top right panel when changing mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Dec 7, 2023
1 parent d3042a8 commit 206d5c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/components/CommonComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export default class CommonComponents extends React.Component {
if (detail.entity !== this.props.entity) {
return;
}
if (DEFAULT_COMPONENTS.indexOf(detail.component) !== -1) {
if (
DEFAULT_COMPONENTS.indexOf(detail.component) !== -1 ||
detail.component === 'mixin'
) {
this.forceUpdate();
}
});
Expand Down

0 comments on commit 206d5c6

Please sign in to comment.