diff --git a/web/src/client/components/unified-settings.ts b/web/src/client/components/unified-settings.ts index 2908ef48..574b9e8e 100644 --- a/web/src/client/components/unified-settings.ts +++ b/web/src/client/components/unified-settings.ts @@ -58,7 +58,6 @@ export class UnifiedSettings extends LitElement { @state() private appPreferences: AppPreferences = DEFAULT_APP_PREFERENCES; @state() private repositoryBasePath = DEFAULT_REPOSITORY_BASE_PATH; @state() private mediaState: MediaQueryState = responsiveObserver.getCurrentState(); - @state() private isServerConfigured = false; @state() private repositoryCount = 0; @state() private isDiscoveringRepositories = false; @@ -171,7 +170,6 @@ export class UnifiedSettings extends LitElement { if (this.serverConfigService) { try { const serverConfig = await this.serverConfigService.loadConfig(this.visible); - this.isServerConfigured = serverConfig.serverConfigured ?? false; // Always use server's repository base path this.repositoryBasePath = serverConfig.repositoryBasePath || DEFAULT_REPOSITORY_BASE_PATH; logger.debug('Loaded repository base path:', this.repositoryBasePath); @@ -640,11 +638,7 @@ export class UnifiedSettings extends LitElement {

- ${ - this.isServerConfigured - ? 'This path is synced with the VibeTunnel Mac app' - : 'Default directory for new sessions and repository discovery' - } + Default directory for new sessions and repository discovery. Changes are automatically synced with the VibeTunnel Mac app.

@@ -656,33 +650,8 @@ export class UnifiedSettings extends LitElement { this.handleRepositoryBasePathChange(input.value); }} placeholder="~/" - class="input-field py-2 text-sm flex-1 ${ - this.isServerConfigured ? 'opacity-60 cursor-not-allowed' : '' - }" - ?disabled=${this.isServerConfigured} - ?readonly=${this.isServerConfigured} + class="input-field py-2 text-sm flex-1" /> - ${ - this.isServerConfigured - ? html` -
- - - -
- ` - : '' - }