Skip to content

Commit

Permalink
#2282 Don't store filters of alert simlar cases sestion in localstorage
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Dec 16, 2021
1 parent 8f3608c commit f0b14a4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,16 @@
this.filtering = new FilteringSrv('case', 'alert.dialog.similar-cases', {
version: 'v1',
defaults: {
showFilters: true,
showFilters: false,
showStats: false,
pageSize: 2,
sort: ['-startDate']
},
defaultFilter: []
});

self.filtering.initContext('alert.dialog.similar-cases')
//self.filtering.initContext('alert.dialog.similar-cases')
self.filtering.initContext()
.then(function () {
var defaultFilter = AlertingSrv.getSimilarityFilter(self.state.defaultAlertSimilarCaseFilter);

Expand Down

0 comments on commit f0b14a4

Please sign in to comment.