diff --git a/apps/host/src/components/SettingsStorage.tsx b/apps/host/src/components/SettingsStorage.tsx index ba0dab55..2ea7cfdf 100644 --- a/apps/host/src/components/SettingsStorage.tsx +++ b/apps/host/src/components/SettingsStorage.tsx @@ -95,6 +95,7 @@ export function SettingsStorage() {
{tr(directoryPending ? 'Checking files…' : changing && loadedCount > 0 ? 'Unload and change directory' : changing ? 'Use this directory' : 'Check folder')}
: void saveDirectory(currentDirectory)}>{tr(directoryPending ? 'Checking files…' : 'Check folder')})} {tr(directoryBlocked && !directoryPending ?

{tr(!lifecycle.allowed ? lifecycle.reason : 'Finish or cancel downloads and loading to change the directory.')}

: null)} + {tr(state.setup?.app.modelsDirNotice && !notice ?

{tr(state.setup.app.modelsDirNotice)}

: null)} {tr(notice ?

{tr(notice)}

: null)} {tr(directoryError ? : null)} diff --git a/apps/host/src/lib/types.ts b/apps/host/src/lib/types.ts index d5e8b4df..b4b37058 100644 --- a/apps/host/src/lib/types.ts +++ b/apps/host/src/lib/types.ts @@ -495,7 +495,7 @@ export interface SetupState { step: number; completedAt?: string; history: { step: number; at: string }[]; - app: { version: string; modelsDir: string; dataDir: string }; + app: { version: string; modelsDir: string; dataDir: string; modelsDirNotice?: string }; } export interface EngineEvent {