File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
invokeai/frontend/web/src Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ type StudioDestinationAction = _StudioInitAction<
42
42
| 'canvas'
43
43
| 'workflows'
44
44
| 'upscaling'
45
+ | 'video'
45
46
| 'viewAllWorkflows'
46
47
| 'viewAllWorkflowsRecommended'
47
48
| 'viewAllStylePresets' ;
@@ -177,6 +178,10 @@ export const useStudioInitAction = (action?: StudioInitAction) => {
177
178
// Go to the upscaling tab
178
179
navigationApi . switchToTab ( 'upscaling' ) ;
179
180
break ;
181
+ case 'video' :
182
+ // Go to the video tab
183
+ await navigationApi . focusPanel ( 'video' , LAUNCHPAD_PANEL_ID ) ;
184
+ break ;
180
185
case 'viewAllWorkflows' :
181
186
// Go to the workflows tab and open the workflow library modal
182
187
navigationApi . switchToTab ( 'workflows' ) ;
Original file line number Diff line number Diff line change @@ -17,12 +17,7 @@ export const VideoLaunchpadPanel = memo(() => {
17
17
const videoUpsellComponent = useStore ( $videoUpsellComponent ) ;
18
18
19
19
if ( ! isVideoEnabled ) {
20
- return (
21
- < LaunchpadContainer heading = "" >
22
- { videoUpsellComponent }
23
-
24
- </ LaunchpadContainer >
25
- ) ;
20
+ return < LaunchpadContainer heading = "" > { videoUpsellComponent } </ LaunchpadContainer > ;
26
21
}
27
22
28
23
return (
You can’t perform that action at this time.
0 commit comments