assistant2: Ensure errors are also displayed in populated new thread view (#27869)
Follow-up to https://github.com/zed-industries/zed/pull/27812 This PR makes sure these errors cases also show up in the panel's empty state even when there is past data. | No ToS | Missing Provider | |--------|--------| |  |  | Release Notes: - N/A
This commit is contained in:
parent
92059803fb
commit
192097f58f
4 changed files with 243 additions and 143 deletions
|
@ -130,7 +130,7 @@ impl RenderOnce for Banner {
|
|||
.child(content_area)
|
||||
.child(action_slot);
|
||||
} else {
|
||||
container = container.px_2().child(content_area);
|
||||
container = container.px_2().child(div().w_full().child(content_area));
|
||||
}
|
||||
|
||||
container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue