1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-31 03:09:44 +02:00

refactor(service): Config factory returns a promise

This commit is contained in:
Anthony Lapenna 2016-06-21 18:35:21 +12:00
parent 9468839bf9
commit 91f3b1f138
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ angular.module('dashboard')
return window.innerWidth;
};
$scope.config = Config.get();
$scope.config = Config;
$scope.$watch($scope.getWidth, function(newValue, oldValue) {
if (newValue >= mobileView) {