Support more notification types

This commit is contained in:
Johannes Zellner
2016-01-18 13:39:27 +01:00
parent bebf480321
commit 2edd434474
2 changed files with 9 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (result.provider === 'route53' && (!result.accessKeyId || !result.secretAccessKey)) {
var actionScope = $scope.$new(true);
actionScope.action = '/#/certs';
Client.notify('Missing AWS credentials', 'Please provide AWS credentials, click here to add them.', true, actionScope);
Client.notify('Missing AWS credentials', 'Please provide AWS credentials, click here to add them.', true, 'error', actionScope);
}
});
}