agent: Improve MCP with no config editor empty state (#33282)
Removed an additional label from the modal empty state as I figured we don't need it, given we already have a version of the description in place for when the extension itself doesn't return any. So, ultimately, having both the label and the description was redundant. Release Notes: - N/A
This commit is contained in:
parent
32df9256c3
commit
324cbecb74
1 changed files with 1 additions and 4 deletions
|
@ -503,10 +503,7 @@ impl ConfigureContextServerModal {
|
|||
ConfigurationSource::Existing { editor } => editor,
|
||||
ConfigurationSource::Extension { editor, .. } => {
|
||||
let Some(editor) = editor else {
|
||||
return Label::new(
|
||||
"No configuration options available for this context server. Visit the Repository for any further instructions.",
|
||||
)
|
||||
.color(Color::Muted).into_any_element();
|
||||
return div().into_any_element();
|
||||
};
|
||||
editor
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue