@topconsultnpm/sdkui-react-beta 6.5.51 → 6.5.52

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.
@@ -32,9 +32,14 @@ export const TMMetadataChooserForm = ({ tmSession, tids, inputDcmtTypesList, qd,
32
32
  throw Error('Le props qd | tids | dataSource devono essere in alternativa');
33
33
  if (qd) {
34
34
  let tids = getTIDsByQd(qd);
35
- if (refreshCache)
36
- DcmtTypeListCacheService.RemoveWithMetadata(tids.map((item) => item.tid));
37
- let dtds = await DcmtTypeListCacheService.GetFromTIDsAsync(tids.map((item) => item.tid), true, tmSession);
35
+ let inputTIDs = tids.map((item) => item.tid);
36
+ console.log('inputTIDs', inputTIDs);
37
+ if (refreshCache) {
38
+ console.log('refreshCache');
39
+ DcmtTypeListCacheService.RemoveWithMetadata(inputTIDs);
40
+ }
41
+ let dtds = await DcmtTypeListCacheService.GetFromTIDsAsync(inputTIDs, true, tmSession);
42
+ console.log('dtds', dtds);
38
43
  for (let i = 0; i < dtds.length; i++) {
39
44
  const dtd = new DcmtTypeDescriptor();
40
45
  dtd.init({ ...dtds[i] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.5.51",
3
+ "version": "6.5.52",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",