mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 19:06:12 +00:00
feat: hyperlinked on "Start application" actionto switch to preview in workbench
This commit is contained in:
parent
719384cfbd
commit
d4c4fe1e5c
@ -178,9 +178,15 @@ const ActionList = memo(({ actions }: ActionListProps) => {
|
||||
<span className="flex-1">Run command</span>
|
||||
</div>
|
||||
) : type === 'start' ? (
|
||||
<div className="flex items-center w-full min-h-[28px]">
|
||||
<a
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
workbenchStore.currentView.set('preview');
|
||||
}}
|
||||
className="flex items-center w-full min-h-[28px]"
|
||||
>
|
||||
<span className="flex-1">Start Application</span>
|
||||
</div>
|
||||
</a>
|
||||
) : null}
|
||||
</div>
|
||||
{(type === 'shell' || type === 'start') && (
|
||||
|
Loading…
Reference in New Issue
Block a user