mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 00:15:41 +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 => {
|
channels.main.bind('newPost', data => {
|
||||||
const params = this.props.params;
|
const params = this.props.params;
|
||||||
|
|
||||||
if (!params.q && !params.sort) {
|
if (!params.q && !params.sort && !params.filter) {
|
||||||
if (params.tags) {
|
if (params.tags) {
|
||||||
const tag = app.store.getBy('tags', 'slug', params.tags);
|
const tag = app.store.getBy('tags', 'slug', params.tags);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user