Handle deployer record without name set

This commit is contained in:
Nabarun Gogoi 2024-10-24 19:33:54 +05:30 committed by Adw8
parent 96c00cc371
commit 6fd2194bb3

View File

@ -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;