mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 10:14:22 +01:00
share page fix
This commit is contained in:
@@ -1299,10 +1299,12 @@ export default function Share(props: {
|
||||
<span data-element-label>Write</span>
|
||||
<b>{filePath}</b>
|
||||
</span>
|
||||
<Show when={diagnostics().length > 0}>
|
||||
<TextPart
|
||||
data-size="sm"
|
||||
text={diagnostics().join("\n\n")}
|
||||
/>
|
||||
</Show>
|
||||
<Switch>
|
||||
<Match when={hasError}>
|
||||
<div data-part-tool-result>
|
||||
@@ -1398,10 +1400,12 @@ export default function Share(props: {
|
||||
lang={getFileType(filePath)}
|
||||
/>
|
||||
</div>
|
||||
<Show when={diagnostics().length > 0}>
|
||||
<TextPart
|
||||
data-size="sm"
|
||||
text={diagnostics().join("\n\n")}
|
||||
/>
|
||||
</Show>
|
||||
</div>
|
||||
<ToolFooter time={duration()} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user