share page fix
This commit is contained in:
parent
bb60aa3060
commit
c3ab370344
1 changed files with 28 additions and 24 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue