Protect against undefined filter text

This commit is contained in:
Johannes
2016-11-24 15:42:41 +01:00
parent 2ca12db362
commit 2f1572b404

View File

@@ -239,6 +239,7 @@ app.filter('postInstallMessage', function () {
var SSO_MARKER = '=== sso ===';
return function (text, app) {
if (!text) return '';
if (!app) return text;
var parts = text.split(SSO_MARKER);