src/store/memory.js
function(filter) {
        if (!filter) {
            return;
        }
        if (!this.filters[filter.userId]) {
            this.filters[filter.userId] = {};
        }
        this.filters[filter.userId][filter.filterId] = filter;
    }
function(filter) {
        if (!filter) {
            return;
        }
        if (!this.filters[filter.userId]) {
            this.filters[filter.userId] = {};
        }
        this.filters[filter.userId][filter.filterId] = filter;
    }
function ( filter ) { if ( ! filter ) { return ; } if ( ! this . filters [ filter . userId ] ) { this . filters [ filter . userId ] = { } ; } this . filters [ filter . userId ] [ filter . filterId ] = filter ; }
Store a filter.
@param {Filter} filter
Store a filter .