From 526a1482b1890eebf6cc69dd1097db4c856191cd Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Wed, 18 May 2016 14:33:16 -0400 Subject: [PATCH] Need to check for this attributes existence before trying to use it --- awx/ui/client/src/widgets/Stream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/widgets/Stream.js b/awx/ui/client/src/widgets/Stream.js index 8656604389..4869606022 100644 --- a/awx/ui/client/src/widgets/Stream.js +++ b/awx/ui/client/src/widgets/Stream.js @@ -154,7 +154,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti descr += ' to '; } } - descr_nolink += obj2 + ' ' + obj2_obj.name; + descr_nolink += (obj2_obj && obj2_obj.name) ? obj2 + ' ' + obj2_obj.name : obj2 + ' '; if (activity.object_association === 'admins') { if (activity.operation === 'disassociate') { descr_nolink += ' from being an admin of ';