agent: Remove duplicate OpenConfiguration action registration (#27918)

I had introduced the same thing a few days ago without noticing there
was one in place already!

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-04-02 11:16:59 -03:00 committed by GitHub
parent d340670fd4
commit 0f58d4f533
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,12 +88,6 @@ pub fn init(cx: &mut App) {
});
}
})
.register_action(|workspace, _: &OpenConfiguration, window, cx| {
if let Some(panel) = workspace.panel::<AssistantPanel>(cx) {
workspace.focus_panel::<AssistantPanel>(window, cx);
panel.update(cx, |panel, cx| panel.open_configuration(window, cx));
}
})
.register_action(|workspace, _: &OpenAgentDiff, window, cx| {
if let Some(panel) = workspace.panel::<AssistantPanel>(cx) {
workspace.focus_panel::<AssistantPanel>(window, cx);