luci-base: firewall.js: fix Zone.addRule()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-05-04 21:29:01 +02:00
parent cfb7051a16
commit 28cf5cd576

View file

@ -493,7 +493,7 @@ Zone = AbstractFirewallItem.extend({
uci.set('firewall', sid, 'src', this.getName());
return new Redirect(sid);
return new Rule(sid);
},
getColor: function(forName) {