Skip to content

Commit 4a394c6

Browse files
feat(ui): add isLocal flag to config
1 parent 624d28a commit 4a394c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

invokeai/frontend/web/src/app/types/invokeai.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export type AppConfig = {
7474
maxUpscalePixels?: number;
7575
metadataFetchDebounce?: number;
7676
workflowFetchDebounce?: number;
77+
isLocal?: boolean;
7778
sd: {
7879
defaultModel?: string;
7980
disabledControlNetModels: string[];

invokeai/frontend/web/src/features/system/store/configSlice.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const baseDimensionConfig: NumericalParameterConfig = {
1515
};
1616

1717
const initialConfigState: AppConfig = {
18+
isLocal: true,
1819
shouldUpdateImagesOnConnect: false,
1920
shouldFetchMetadataFromApi: false,
2021
disabledTabs: [],

0 commit comments

Comments
 (0)