Skip to content

Commit

Permalink
Merge pull request maestrano#370 from ouranos/feature/mnoe-695-fix-reset
Browse files Browse the repository at this point in the history
[MNOE-695] Fix reset to published theme
  • Loading branch information
ouranos authored Nov 1, 2017
2 parents ccb0e00 + 6988036 commit c846f6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ ThemeEditorCtrl = ($scope, $window, $log, $timeout, toastr, themeEditorSvc) ->
editor.reset = (opts = {published: false, default: false, save: false}) ->
editor.busy = true
if opts.published || opts.default
promise = if opts.publish
promise = if opts.published
themeEditorSvc.resetToPublishedTheme()
else
themeEditorSvc.resetToDefaultTheme()
Expand Down

0 comments on commit c846f6d

Please sign in to comment.