Use the first instance as notification item name
@@ -160,7 +160,7 @@ class MainDetails extends React.Component<Props> {
}
})
- return vms.length === 0 ? '-' : vms
+ return vms.length === 0 ? '-' : vms.join(', ')
getNetworks() {
@@ -130,7 +130,7 @@ class NotificationSource {
id: item.id,
status: mainInfo.status,
type: item.type,
- name: item.instances.join(', '),
+ name: item.instances[0],
updatedAt: mainInfo.updated_at,
description: DataUtils.getItemDescription(item),