mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
feat(pr-view): close review tab when pr panel opens
This commit is contained in:
@@ -567,7 +567,7 @@ const AgentManagerContent: Component = () => {
|
||||
|
||||
const togglePRPanel = () => {
|
||||
setHistory(false)
|
||||
setReviewActive(false)
|
||||
if (reviewActive()) closeReviewTab()
|
||||
setSidePanel((prev) => (prev === SidePanel.PR ? null : SidePanel.PR))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user