File tree Expand file tree Collapse file tree 1 file changed +20
-21
lines changed
webview-ui/src/components/modes Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Original file line number Diff line number Diff line change @@ -595,27 +595,6 @@ const ModesView = ({ onDone }: ModesViewProps) => {
595595 </ Button >
596596 </ StandardTooltip >
597597
598- < StandardTooltip content = { t ( "prompts:exportMode.title" ) } >
599- < Button
600- variant = "ghost"
601- size = "icon"
602- onClick = { ( ) => {
603- const currentMode = getCurrentMode ( )
604- if ( currentMode ?. slug && ! isExporting ) {
605- setIsExporting ( true )
606- vscode . postMessage ( {
607- type : "exportMode" ,
608- slug : currentMode . slug ,
609- } )
610- }
611- } }
612- disabled = { isExporting }
613- title = { t ( "prompts:exportMode.title" ) }
614- data-testid = "export-mode-toolbar-button" >
615- < Upload className = "h-4 w-4" />
616- </ Button >
617- </ StandardTooltip >
618-
619598 < StandardTooltip content = { t ( "prompts:modes.importMode" ) } >
620599 < Button
621600 variant = "ghost"
@@ -737,6 +716,26 @@ const ModesView = ({ onDone }: ModesViewProps) => {
737716 </ Command >
738717 </ PopoverContent >
739718 </ Popover >
719+ < StandardTooltip content = { t ( "prompts:exportMode.title" ) } >
720+ < Button
721+ variant = "ghost"
722+ size = "icon"
723+ onClick = { ( ) => {
724+ const currentMode = getCurrentMode ( )
725+ if ( currentMode ?. slug && ! isExporting ) {
726+ setIsExporting ( true )
727+ vscode . postMessage ( {
728+ type : "exportMode" ,
729+ slug : currentMode . slug ,
730+ } )
731+ }
732+ } }
733+ disabled = { isExporting }
734+ title = { t ( "prompts:exportMode.title" ) }
735+ data-testid = "export-mode-toolbar-button" >
736+ < Upload className = "h-4 w-4" />
737+ </ Button >
738+ </ StandardTooltip >
740739 </ div >
741740 { /* API Configuration - Moved Here */ }
742741 < div className = "mb-3" >
You can’t perform that action at this time.
0 commit comments