Skip to content

Commit 702054a

Browse files
Mary Hipppsychedelicious
Mary Hipp
authored andcommitted
make sure browse is selected
1 parent 636ec1d commit 702054a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

invokeai/frontend/web/src/app/hooks/useStudioInitAction.ts

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
$workflowLibraryTagOptions,
1717
workflowLibraryTagsReset,
1818
workflowLibraryTagToggled,
19+
workflowLibraryViewChanged,
1920
} from 'features/nodes/store/workflowLibrarySlice';
2021
import { $isStylePresetsMenuOpen, activeStylePresetIdChanged } from 'features/stylePresets/store/stylePresetSlice';
2122
import { toast } from 'features/toast/toast';
@@ -191,6 +192,7 @@ export const useStudioInitAction = (action?: StudioInitAction) => {
191192
// Go to the workflows tab and open the workflow library modal with the recommended workflows view
192193
store.dispatch(setActiveTab('workflows'));
193194
$isWorkflowLibraryModalOpen.set(true);
195+
store.dispatch(workflowLibraryViewChanged('defaults'));
194196
store.dispatch(workflowLibraryTagsReset());
195197
for (const tag of workflowLibraryTagOptions) {
196198
if (tag.recommended) {

0 commit comments

Comments
 (0)