NPE fixes
This commit is contained in:
parent
86dfca2e3e
commit
f938f3fa43
3 changed files with 7 additions and 2 deletions
|
@ -1587,10 +1587,10 @@ quayApp = angular.module('quay', quayDependencies, function($provide, cfpLoading
|
|||
}
|
||||
|
||||
var page = kindInfo['page'];
|
||||
if (typeof page != 'string') {
|
||||
if (page != null && typeof page != 'string') {
|
||||
page = page(notification['metadata']);
|
||||
}
|
||||
return page;
|
||||
return page || '';
|
||||
};
|
||||
|
||||
notificationService.getMessage = function(notification) {
|
||||
|
|
Reference in a new issue