Handle deployer record without name set
This commit is contained in:
parent
96c00cc371
commit
6fd2194bb3
@ -1348,7 +1348,7 @@ export class Service {
|
||||
const deployers: Deployer[] = [];
|
||||
|
||||
for (const record of deployerRecords) {
|
||||
if (record.names.length > 0) {
|
||||
if (record.names && record.names.length > 0) {
|
||||
const deployerId = record.id;
|
||||
const deployerLrn = record.names[0];
|
||||
const deployerApiUrl = record.attributes.apiUrl;
|
||||
|
Loading…
Reference in New Issue
Block a user