PLT-6561 Fixing javascript issue on compliance report (#6387)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
23139678a0
Коммит
8ec90d88fa
@@ -378,7 +378,10 @@ export function formatAuditInfo(audit, formatMessage) {
|
|||||||
|
|
||||||
if (userIdField.indexOf('user_id') >= 0) {
|
if (userIdField.indexOf('user_id') >= 0) {
|
||||||
userId = userIdField[userIdField.indexOf('user_id') + 1];
|
userId = userIdField[userIdField.indexOf('user_id') + 1];
|
||||||
username = UserStore.getProfile(userId).username;
|
var profile = UserStore.getProfile(userId);
|
||||||
|
if (profile) {
|
||||||
|
username = profile.username;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user