mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
fix: home tab, layout switch and missing layout fallbacks for looks
This commit is contained in:
1 parent
4c235bb23f
commit
ec3cc9cf18
14 files changed
+761
-11
No files matched your search
@@ -206,6 +206,8 @@ export function renderTabContent(tab: Tab, context: TabRenderContext) {
|
||||
|
||||
default: {
|
||||
const def = getTabType(tab.type);
|
||||
// The home tab is empty until the layout gives it a tab type.
|
||||
if (!def && tab.type === "dashboard") return null;
|
||||
if (!def) {
|
||||
const panel = getPanel(tab.type);
|
||||
if (panel) {
|
||||
|
||||
Reference in new issue
Block a user