mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
11 lines
261 B
JavaScript
11 lines
261 B
JavaScript
import NavItem from 'flarum/components/nav-item'
|
|
|
|
export default class IndexNavItem extends NavItem {
|
|
static props(props) {
|
|
props.onclick = props.onclick || function() {
|
|
app.cache.discussionList = null;
|
|
m.redraw.strategy('none');
|
|
};
|
|
}
|
|
}
|