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>
|
<span data-element-label>Write</span>
|
||||||
<b>{filePath}</b>
|
<b>{filePath}</b>
|
||||||
</span>
|
</span>
|
||||||
|
<Show when={diagnostics().length > 0}>
|
||||||
<TextPart
|
<TextPart
|
||||||
data-size="sm"
|
data-size="sm"
|
||||||
text={diagnostics().join("\n\n")}
|
text={diagnostics().join("\n\n")}
|
||||||
/>
|
/>
|
||||||
|
</Show>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Match when={hasError}>
|
<Match when={hasError}>
|
||||||
<div data-part-tool-result>
|
<div data-part-tool-result>
|
||||||
@@ -1398,10 +1400,12 @@ export default function Share(props: {
|
|||||||
lang={getFileType(filePath)}
|
lang={getFileType(filePath)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<Show when={diagnostics().length > 0}>
|
||||||
<TextPart
|
<TextPart
|
||||||
data-size="sm"
|
data-size="sm"
|
||||||
text={diagnostics().join("\n\n")}
|
text={diagnostics().join("\n\n")}
|
||||||
/>
|
/>
|
||||||
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
<ToolFooter time={duration()} />
|
<ToolFooter time={duration()} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user