]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove redundand condition (#2041) 2043/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 28 Feb 2018 18:53:09 +0000 (18:53 +0000)
committerGitHub <noreply@github.com>
Wed, 28 Feb 2018 18:53:09 +0000 (18:53 +0000)
interface/js/app/history.js

index d31f8e885ffd44b7536f19910440a61e462bb484..50a71475005e17d662380c87d45f508d73270fd7 100644 (file)
@@ -473,7 +473,7 @@ function($, _, Humanize) {
             if (action instanceof FooTable.Filter) {
                 if(action.query.val() === 'reject -soft'){
                     this.$action.val('reject');
-                } else if( action.query.val() != 'reject -soft'){
+                } else {
                     this.$action.val(action.query.val());
                 }
             } else {