1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 23:47:32 +02:00

fix: postfooter did not apply the empty subclass (#4085)

This commit is contained in:
IanM
2024-10-21 21:35:52 +01:00
committed by GitHub
parent 821ca01460
commit c42f0a5d0e

View File

@@ -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;
}