mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
fix: postfooter did not apply the empty subclass (#4085)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user