mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +08:00
Add back button icon
This commit is contained in:
parent
4d558c0b29
commit
3cc5be1270
|
@ -2,6 +2,7 @@ import Component from 'flarum/Component';
|
|||
import IndexPage from 'flarum/components/IndexPage';
|
||||
import listItems from 'flarum/helpers/listItems';
|
||||
import humanTime from 'flarum/helpers/humanTime';
|
||||
import icon from 'flarum/helpers/icon';
|
||||
|
||||
import tagLabel from 'flarum/tags/helpers/tagLabel';
|
||||
import sortTags from 'flarum/tags/utils/sortTags';
|
||||
|
@ -11,7 +12,7 @@ export default class TagsPage extends Component {
|
|||
this.tags = sortTags(app.store.all('tags').filter(tag => !tag.parent()));
|
||||
|
||||
app.current = this;
|
||||
app.history.push('tags');
|
||||
app.history.push('tags', icon('th-large'));
|
||||
app.drawer.hide();
|
||||
app.modal.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user