make "open workspace in tab" actually load the workspace preset properly.

This commit is contained in:
Nystik
2026-05-16 21:26:57 +02:00
parent c1a169a3ed
commit daa7bd6875
3 changed files with 55 additions and 4 deletions

View File

@@ -3,7 +3,11 @@ import { installRequestUrlShim } from "./request-url.js";
import { vaultService } from "../services/vault-service.js";
import { showPluginInstallDialog } from "../ui/bootstrap.js";
import { registerReadTransform } from "./fs/transforms.js";
import { resolveWorkspaceName, initWorkspacePatch } from "./workspace.js";
import {
resolveWorkspaceName,
loadPresetIfRequested,
initWorkspacePatch,
} from "./workspace.js";
import { prefetchVaultContent } from "./fs/indexer-prefetch.js";
function resolveVaultId() {
@@ -211,6 +215,7 @@ function initCoreSyncGuardFallback() {
export function initialize() {
resolveVaultId();
resolveWorkspaceName();
loadPresetIfRequested();
const bootstrap = fetchBootstrap();