Skip to content

Commit

Permalink
fix: postfooter did not apply the empty subclass (#4085)
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland authored Oct 21, 2024
1 parent 821ca01 commit c42f0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/core/js/src/forum/components/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default abstract class Post<CustomAttrs extends IPostAttrs = IPostAttrs>
90
);

items.add('footer', <footer className="Post-footer">{footerItems.length > 0 ? <ul>{listItems(footerItems)}</ul> : <ul></ul>}</footer>, 80);
items.add('footer', <footer className="Post-footer">{footerItems.length > 0 ? <ul>{listItems(footerItems)}</ul> : null}</footer>, 80);

return items;
}
Expand Down

0 comments on commit c42f0a5

Please sign in to comment.