Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
wusteven815 committed Apr 25, 2024
1 parent 3a77766 commit b9231eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/dashboard/src/PanelManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,7 @@ class PanelManager {
);
(dehydratedConfig as ClosedPanel).parentStackId =
LayoutUtils.getStackForConfig(root, config)?.config.id;
if (dehydratedConfig != null) {
this.closed.push(dehydratedConfig);
}
this.closed.push(dehydratedConfig);
}
}

Expand Down

0 comments on commit b9231eb

Please sign in to comment.