mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-22 17:11:17 +00:00
Use <details> for error detail.
https://matrix.to/#/!IaWNErZAgQUhGqJXjX:matrix.org/$634tyYnNJK_zpNb4wH1zHbYeMOsDBHMpwdWPg1GdAEU?via=matrix.org&via=the-apothecary.club&via=envs.net
This commit is contained in:
1 parent
e8847a2524
commit
2a4829dc1e
1 file changed
+10
-4
@@ -71,11 +71,17 @@ export async function renderActionResult(
|
||||
return <fragment>
|
||||
<font color="#ff0000">
|
||||
{title}<br/>
|
||||
<b>{errors.length} errors updating protected rooms!</b><br/>
|
||||
</font>
|
||||
<ul>
|
||||
{errors.map(error => renderErrorItem(error, viaServers))}
|
||||
</ul>
|
||||
<details>
|
||||
<summary>
|
||||
<font color="#ff0000">
|
||||
<b>{errors.length} errors updating protected rooms!</b><br/>
|
||||
</font>
|
||||
</summary>
|
||||
<ul>
|
||||
{errors.map(error => renderErrorItem(error, viaServers))}
|
||||
</ul>
|
||||
</details>
|
||||
</fragment>
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user