Skip to content

Commit

Permalink
fix wrong usage of data-binding for $rootScope.settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dularion committed Apr 8, 2019
1 parent 25d25e1 commit 2db385d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grails-app/assets/javascripts/streama/streama.run.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ angular.module('streama')
});
};

apiService.settings.list().then(function (data) {
$rootScope.settings = data;
apiService.settings.list().then(function (response) {
$rootScope.settings = response.data;
});

$rootScope.getSetting = function (name) {
Expand Down

0 comments on commit 2db385d

Please sign in to comment.