@veloceapps/api 10.0.0-22 → 10.0.0-24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3450,10 +3450,11 @@ class RlmApiService {
|
|
3450
3450
|
}), map(objects => {
|
3451
3451
|
return objects.map(object => {
|
3452
3452
|
const tag = object.tags?.[0]?.title;
|
3453
|
+
const objectAttributes = object.attributes || [];
|
3453
3454
|
return {
|
3454
3455
|
id: object.id,
|
3455
3456
|
title: tag || object.title,
|
3456
|
-
attributes:
|
3457
|
+
attributes: objectAttributes.map(attribute => {
|
3457
3458
|
const tag = attribute.tags?.[0]?.title;
|
3458
3459
|
return {
|
3459
3460
|
title: tag || attribute.title,
|