feat(gpt-runner-vscode): hide file editor in vscode
This commit is contained in:
@@ -119,4 +119,4 @@
|
||||
"uuid": "^9.0.0",
|
||||
"wait-port": "^1.0.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -196,7 +196,7 @@ const Chat: FC = memo(() => {
|
||||
},
|
||||
]
|
||||
|
||||
if (IS_SAFE) {
|
||||
if (IS_SAFE && !getGlobalConfig().editFileInIde) {
|
||||
mobileTabItems.push(
|
||||
{
|
||||
id: MobileTabId.FileEditor,
|
||||
@@ -236,7 +236,7 @@ const Chat: FC = memo(() => {
|
||||
{renderSidebar()}
|
||||
</DragResizeView>
|
||||
|
||||
{IS_SAFE
|
||||
{IS_SAFE && !getGlobalConfig().editFileInIde
|
||||
? <PanelTab
|
||||
items={pcTabItems}
|
||||
activeId={pcTabActiveId}
|
||||
|
||||
Reference in New Issue
Block a user