1
0
Fork 0
forked from alemi/upub

fix(web): CWs are always closed

should do a frontend config option eventually, rather than using
`sensitive` to decide
This commit is contained in:
əlemi 2024-05-01 16:46:51 +02:00
parent a3d649d17b
commit c059f664ac
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -118,7 +118,7 @@ pub fn Object(object: crate::Object) -> impl IntoView {
</tr> </tr>
</table> </table>
<blockquote class="tl"> <blockquote class="tl">
<Summary summary=object.summary().map(|x| x.to_string()) open=!sensitive > <Summary summary=object.summary().map(|x| x.to_string()) open=false >
{content.into_iter().map(|x| view! { <p>{x}</p> }).collect_view()} {content.into_iter().map(|x| view! { <p>{x}</p> }).collect_view()}
{attachments_padding} {attachments_padding}
{attachments} {attachments}