mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 02:58:13 -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
|
$scope.ruleListFormats = OmegaPac.Profiles.ruleListFormats
|
||||||
|
|
||||||
exportRuleList = ->
|
exportRuleList = ->
|
||||||
text = OmegaPac.RuleList.Switchy.compose($scope.profile)
|
text = OmegaPac.RuleList.Switchy.compose(
|
||||||
|
rules: $scope.profile.rules
|
||||||
|
defaultProfileName: $scope.attachedOptions.defaultProfileName
|
||||||
|
)
|
||||||
|
|
||||||
eol = '\r\n'
|
eol = '\r\n'
|
||||||
info = '\n'
|
info = '\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user