Show tutorial for admins

This commit is contained in:
Johannes Zellner
2016-05-06 14:23:21 +02:00
parent c61ce40362
commit 7e1055ae44
2 changed files with 3 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
}
Client.refreshUserInfo(function (error, result) {
Client.refreshUserInfo(function (error) {
if (error) return $scope.error(error);
Client.refreshInstalledApps(function (error) {
@@ -165,9 +165,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
}
// welcome screen
// setTimeout(function () {
// $scope.nextWelcomeStep();
// }, 1000);
if ($scope.user.showTutorial && $scope.user.admin) $scope.nextWelcomeStep();
});
});
});