osl-base-extended 1.0.41 → 1.0.42
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.
|
@@ -398,7 +398,7 @@ class DatasourceCacheService {
|
|
|
398
398
|
const response = body !== undefined
|
|
399
399
|
? await service[methodName](body)
|
|
400
400
|
: await service[methodName]();
|
|
401
|
-
const data = Array.isArray(response) ? response : (response?.result ?? []);
|
|
401
|
+
const data = Array.isArray(response) ? response : (response?.result?.data ?? []);
|
|
402
402
|
this.cache.set(key, data);
|
|
403
403
|
return data;
|
|
404
404
|
}
|
|
@@ -1389,10 +1389,10 @@ class OslAutocomplete extends baseComponent {
|
|
|
1389
1389
|
set object(val) {
|
|
1390
1390
|
if (val) {
|
|
1391
1391
|
this._object = val;
|
|
1392
|
-
}
|
|
1393
|
-
if (this.model) {
|
|
1394
1392
|
this.datasource = [val];
|
|
1395
1393
|
this.filteredItems = [...this.datasource];
|
|
1394
|
+
}
|
|
1395
|
+
if (this.model) {
|
|
1396
1396
|
this.syncInputFromModel();
|
|
1397
1397
|
}
|
|
1398
1398
|
}
|