This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-27 03:19:10 -04:00
1 parent f59d86a10c
commit 2f2bf38e34
1 file changed
+3 -1
+3 -1
View File
@@ -845,7 +845,7 @@
};
// ── Lifecycle ────────────────────────────────────────────────────────
onMount(async () => {
onMount(() => {
const terminal = getTerminal();
let handledDisplayFile = false;
@@ -904,6 +904,7 @@
if (!handledDisplayFile && terminal) {
loading = true;
void (async () => {
// Discover server features on initial mount
const config = await getTerminalConfig(terminal.url, terminal.key);
terminalEnabled = config?.features?.terminal !== false;
@@ -914,6 +915,7 @@
}
savedPath = clampToFileRoot(savedPath);
loadDir(savedPath);
})();
}
mounted = true;