mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 15:43:59 +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 IndexPage from 'flarum/components/IndexPage';
|
||||||
import listItems from 'flarum/helpers/listItems';
|
import listItems from 'flarum/helpers/listItems';
|
||||||
import humanTime from 'flarum/helpers/humanTime';
|
import humanTime from 'flarum/helpers/humanTime';
|
||||||
|
import icon from 'flarum/helpers/icon';
|
||||||
|
|
||||||
import tagLabel from 'flarum/tags/helpers/tagLabel';
|
import tagLabel from 'flarum/tags/helpers/tagLabel';
|
||||||
import sortTags from 'flarum/tags/utils/sortTags';
|
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()));
|
this.tags = sortTags(app.store.all('tags').filter(tag => !tag.parent()));
|
||||||
|
|
||||||
app.current = this;
|
app.current = this;
|
||||||
app.history.push('tags');
|
app.history.push('tags', icon('th-large'));
|
||||||
app.drawer.hide();
|
app.drawer.hide();
|
||||||
app.modal.close();
|
app.modal.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user