RIFT-14910: Delete logging filter
[osm/UI.git] / skyquake / plugins / logging / src / loggingStore.js
index 53575eb..6743b92 100644 (file)
@@ -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;
               }