diff --git a/dashboard/frontend/src/App.svelte b/dashboard/frontend/src/App.svelte index 3d3a533..68bf340 100644 --- a/dashboard/frontend/src/App.svelte +++ b/dashboard/frontend/src/App.svelte @@ -146,8 +146,6 @@ {:else if page === "files" && hasPageAccess("files")} - {:else if page === "terminal" && hasPageAccess("terminal")} - {:else if page === "openclaw" && hasPageAccess("openclaw")} {:else if page === "chat-digest" && hasPageAccess("chat-digest")} @@ -162,9 +160,15 @@ {:else if page === "info-engine" && hasPageAccess("dashboard")} - {:else} + {:else if page !== "terminal"} {/if} + + {#if hasPageAccess("terminal")} +
+ +
+ {/if}