Add back button icon

This commit is contained in:
Toby Zerner 2015-11-03 15:59:47 +10:30
parent 4d558c0b29
commit 3cc5be1270

View File

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