Skip to content

Commit

Permalink
fix: panels are only initialized once (#2071)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal authored Nov 13, 2023
1 parent fb1f01c commit 12cac2a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export class EntityDetailsComponent implements EntityDetailsConfig, OnChanges {
}
if (changes.id) {
this.loadEntity(this.id);
}
if (changes.panels) {
// `initPanels()` is already called inside `loadEntity()`
} else if (changes.panels) {
this.initPanels();
}
}
Expand Down

0 comments on commit 12cac2a

Please sign in to comment.