From 3cc5be12705ce3e64160480e84be8688027849e0 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 3 Nov 2015 15:59:47 +1030 Subject: [PATCH] Add back button icon --- extensions/tags/js/forum/src/components/TagsPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/tags/js/forum/src/components/TagsPage.js b/extensions/tags/js/forum/src/components/TagsPage.js index 76dfdb7ee..32a7c43cc 100644 --- a/extensions/tags/js/forum/src/components/TagsPage.js +++ b/extensions/tags/js/forum/src/components/TagsPage.js @@ -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(); }