mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Need to check for this attributes existence before trying to use it
This commit is contained in:
parent
ecf8d8765d
commit
526a1482b1
@ -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 ';
|
||||
|
Loading…
Reference in New Issue
Block a user