agent: Fix button ids for resetting keys in OpenAI settings (#33032)

These "Reset API Key" and "Reset API URL" button had the same ids, so
therefore, they weren't working.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-06-19 11:09:53 -03:00 committed by GitHub
parent 1bd49a77e0
commit ec0f2fa79a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -905,7 +905,7 @@ impl Render for ConfigurationView {
})), })),
) )
.child( .child(
Button::new("reset-key", "Reset API Key") Button::new("reset-api-key", "Reset API Key")
.label_size(LabelSize::Small) .label_size(LabelSize::Small)
.icon(IconName::Undo) .icon(IconName::Undo)
.icon_size(IconSize::Small) .icon_size(IconSize::Small)
@ -938,7 +938,7 @@ impl Render for ConfigurationView {
.child(Label::new("Custom API URL configured.")), .child(Label::new("Custom API URL configured.")),
) )
.child( .child(
Button::new("reset-key", "Reset API URL") Button::new("reset-api-url", "Reset API URL")
.label_size(LabelSize::Small) .label_size(LabelSize::Small)
.icon(IconName::Undo) .icon(IconName::Undo)
.icon_size(IconSize::Small) .icon_size(IconSize::Small)