mirror of
https://github.com/flarum/framework.git
synced 2025-02-23 07:34:27 +08:00
Don't update discussion list when a filter is active
This commit is contained in:
parent
055efe21d6
commit
8f6b529fc6
@ -36,7 +36,7 @@ app.initializers.add('pusher', () => {
|
||||
channels.main.bind('newPost', data => {
|
||||
const params = this.props.params;
|
||||
|
||||
if (!params.q && !params.sort) {
|
||||
if (!params.q && !params.sort && !params.filter) {
|
||||
if (params.tags) {
|
||||
const tag = app.store.getBy('tags', 'slug', params.tags);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user