mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
fix: open settings goes to the plugin's page and hides when it has none
This commit is contained in:
1 parent
d1ddcd3ff9
commit
60024bdd4e
6 files changed
+96
-5
No files matched your search
@@ -1686,6 +1686,10 @@ export function AppShell({
|
||||
tabLabel,
|
||||
);
|
||||
}
|
||||
// Asking for a page again still goes there after the user moved away
|
||||
if (type === "settings" && data?.section && data.revealAt === undefined) {
|
||||
data = { ...data, revealAt: Date.now() };
|
||||
}
|
||||
const id = type;
|
||||
const singletonLabels: Partial<Record<TabType, string>> = {
|
||||
"host-manager": t("nav.manage"),
|
||||
|
||||
Reference in new issue
Block a user