X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flogging%2Fsrc%2FloggingStore.js;h=e95e657cdbd0138bbdeb0d2a807c368f72952617;hb=df6a222256b914f0ecba9a20d26e5d6b7b2ff964;hp=53575ebbc6d6b8cc0eead0f5e2676a2042087789;hpb=e5cb4d01688c97ccca8deea0a56489e213026314;p=osm%2FUI.git diff --git a/skyquake/plugins/logging/src/loggingStore.js b/skyquake/plugins/logging/src/loggingStore.js index 53575ebbc..e95e657cd 100644 --- a/skyquake/plugins/logging/src/loggingStore.js +++ b/skyquake/plugins/logging/src/loggingStore.js @@ -127,9 +127,9 @@ class LoggingStore { // missing elements is not allowed! // When backend supports it, in loggingSource change the order of operations // // Delete first followed by save/put. - // _.remove(loggingConfig.sinks[sinkIndex].filter.category, { - // name: catsev.name - // }); + _.remove(loggingConfig.sinks[sinkIndex].filter.category, { + name: catsev.name + }); } else { sink.filter.category[catIndex] = catsev; } @@ -216,4 +216,4 @@ class LoggingStore { } } -export default alt.createStore(LoggingStore); +export default alt.createStore(LoggingStore, 'LoggingStore');