mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Use attached defaultProfileName to compose switchy rulelist. Fix #721.
This commit is contained in:
parent
a4a6962432
commit
eb3951512d
@ -5,7 +5,10 @@ angular.module('omega').controller 'SwitchProfileCtrl', ($scope, $rootScope,
|
||||
$scope.ruleListFormats = OmegaPac.Profiles.ruleListFormats
|
||||
|
||||
exportRuleList = ->
|
||||
text = OmegaPac.RuleList.Switchy.compose($scope.profile)
|
||||
text = OmegaPac.RuleList.Switchy.compose(
|
||||
rules: $scope.profile.rules
|
||||
defaultProfileName: $scope.attachedOptions.defaultProfileName
|
||||
)
|
||||
|
||||
eol = '\r\n'
|
||||
info = '\n'
|
||||
|
Loading…
Reference in New Issue
Block a user