We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e925df7 commit 82e8eeeCopy full SHA for 82e8eee
1 file changed
packages/threadclient-ui-web/src/components/flat_posts.tsx
@@ -229,7 +229,7 @@ function ActionBarItems(props: {
229
}): JSX.Element {
230
return <>
231
{/* now I want a <Show whenAll={{a, b, c}}>{(props) => } */}
232
- {props.opts.collapse_data && props.opts.flat_frame != null && (
+ {props.opts.collapse_data && props.opts.flat_frame != null && props.opts.flat_frame.collapse && (
233
postContentCollapseInfo(props.post, props.opts.flat_frame).user_controllable
234
// TODO: dispatch this event to the post - eg a post may not have collapse data but still
235
// have a collapse button and we need to tell it to collapse then
0 commit comments