Show appstore login if we don't have a token yet

This commit is contained in:
Johannes Zellner
2016-08-01 13:28:54 +02:00
parent 46af8d1c90
commit 33e572c49d

View File

@@ -232,7 +232,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (error) return console.error(error);
if (!appstoreConfig.token) {
console.log('No token, prompt the user');
$scope.appstoreLogin.show();
} else {
console.log('Got token', appstoreConfig.token);