mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 02:58:13 -05:00
Generate exclusive rules when profileName matches defaultProfileName.
Fix #99.
This commit is contained in:
parent
0c6d9dde3c
commit
6cdd2cad24
@ -45,7 +45,7 @@ angular.module('omega').controller 'SwitchProfileCtrl', ($scope, $location,
|
||||
regexpRules = ''
|
||||
for rule in $scope.profile.rules
|
||||
i = ''
|
||||
if rule.profileName == 'direct'
|
||||
if rule.profileName == $scope.defaultProfileName
|
||||
i = '!'
|
||||
switch rule.condition.conditionType
|
||||
when 'HostWildcardCondition'
|
||||
|
Loading…
Reference in New Issue
Block a user