mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
make sure browse is selected
This commit is contained in:
committed by
psychedelicious
parent
636ec1de6e
commit
702054aa62
@@ -16,6 +16,7 @@ import {
|
||||
$workflowLibraryTagOptions,
|
||||
workflowLibraryTagsReset,
|
||||
workflowLibraryTagToggled,
|
||||
workflowLibraryViewChanged,
|
||||
} from 'features/nodes/store/workflowLibrarySlice';
|
||||
import { $isStylePresetsMenuOpen, activeStylePresetIdChanged } from 'features/stylePresets/store/stylePresetSlice';
|
||||
import { toast } from 'features/toast/toast';
|
||||
@@ -191,6 +192,7 @@ export const useStudioInitAction = (action?: StudioInitAction) => {
|
||||
// Go to the workflows tab and open the workflow library modal with the recommended workflows view
|
||||
store.dispatch(setActiveTab('workflows'));
|
||||
$isWorkflowLibraryModalOpen.set(true);
|
||||
store.dispatch(workflowLibraryViewChanged('defaults'));
|
||||
store.dispatch(workflowLibraryTagsReset());
|
||||
for (const tag of workflowLibraryTagOptions) {
|
||||
if (tag.recommended) {
|
||||
|
||||
Reference in New Issue
Block a user