mirror of
https://github.com/flarum/core.git
synced 2025-08-14 20:34:10 +02:00
Sort child tags in tiles
This commit is contained in:
@@ -33,7 +33,7 @@ export default class TagsPage extends Component {
|
|||||||
<ul className="TagTiles">
|
<ul className="TagTiles">
|
||||||
{pinned.map(tag => {
|
{pinned.map(tag => {
|
||||||
const lastDiscussion = tag.lastDiscussion();
|
const lastDiscussion = tag.lastDiscussion();
|
||||||
const children = app.store.all('tags').filter(child => child.parent() === tag);
|
const children = sortTags(app.store.all('tags').filter(child => child.parent() === tag));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<li className={'TagTile ' + (tag.color() ? 'colored' : '')}
|
<li className={'TagTile ' + (tag.color() ? 'colored' : '')}
|
||||||
|
Reference in New Issue
Block a user