Skip to content

Commit

Permalink
Generate exclusive rules when profileName matches defaultProfileName.
Browse files Browse the repository at this point in the history
Fix #99.
  • Loading branch information
FelisCatus committed Jan 2, 2015
1 parent 0c6d9dd commit 6cdd2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omega-web/src/omega/controllers/switch_profile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6cdd2ca

Please sign in to comment.