refactor: minor cmdCenter changes

This commit is contained in:
tglide
2023-07-11 12:59:15 +01:00
parent e983413d53
commit dd0bc317cf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
clearSubPanels();
} else {
addSubPanel({
name: 'commandPanel',
name: 'root',
component: Root
});
}
+1 -1
View File
@@ -156,7 +156,7 @@
const castOption = (option: IndexedOption) => option as Option;
$: breadcrumbs = $subPanels.slice(1).map((panel) => panel.name);
$: breadcrumbs = $subPanels.filter((panel) => panel.name !== 'root').map((panel) => panel.name);
const handleCrumbClick = (index: number) => {
if (index === breadcrumbs.length - 1) {