mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
wip: desktop work
This commit is contained in:
@@ -153,7 +153,7 @@ PART_MAPPING["tool"] = function ToolPartDisplay(props) {
|
||||
<div data-component="tool-error">
|
||||
<Icon name="circle-ban-sign" size="small" data-slot="tool-error-icon" />
|
||||
<Switch>
|
||||
<Match when={title}>
|
||||
<Match when={title && title.length < 30}>
|
||||
<div data-slot="tool-error-content">
|
||||
<div data-slot="tool-error-title">{title}</div>
|
||||
<span data-slot="tool-error-message">{rest.join(": ")}</span>
|
||||
|
||||
Reference in New Issue
Block a user