mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 11:08: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 = ''
|
regexpRules = ''
|
||||||
for rule in $scope.profile.rules
|
for rule in $scope.profile.rules
|
||||||
i = ''
|
i = ''
|
||||||
if rule.profileName == 'direct'
|
if rule.profileName == $scope.defaultProfileName
|
||||||
i = '!'
|
i = '!'
|
||||||
switch rule.condition.conditionType
|
switch rule.condition.conditionType
|
||||||
when 'HostWildcardCondition'
|
when 'HostWildcardCondition'
|
||||||
|
Loading…
Reference in New Issue
Block a user