assistant2: Uniquely identify context server entries in configuration view (#27207)
This PR gives each context server entry in the configuration view a unique element ID. This fixes some issues where the disclosures and switches weren't working properly due to element ID collisions. Release Notes: - N/A
This commit is contained in:
parent
6408ae81d1
commit
f9f5126d2c
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ impl AssistantConfiguration {
|
||||||
let tool_count = tools.len();
|
let tool_count = tools.len();
|
||||||
|
|
||||||
v_flex()
|
v_flex()
|
||||||
|
.id(SharedString::from(context_server.id()))
|
||||||
.border_1()
|
.border_1()
|
||||||
.rounded_sm()
|
.rounded_sm()
|
||||||
.border_color(cx.theme().colors().border)
|
.border_color(cx.theme().colors().border)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue