@topconsultnpm/sdkui-react-beta 6.14.63 → 6.14.64
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.
|
@@ -73,7 +73,9 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
73
73
|
const fetchData = async () => {
|
|
74
74
|
try {
|
|
75
75
|
TMSpinner.show({ description: 'Loading Metadata...' });
|
|
76
|
-
let getMetadataResult
|
|
76
|
+
let getMetadataResult;
|
|
77
|
+
if (layoutMode === LayoutModes.Update)
|
|
78
|
+
await SDK_Globals.tmSession?.NewSearchEngine().GetMetadataAsync(TID, DID, true);
|
|
77
79
|
let dtd = await DcmtTypeListCacheService.GetWithNotGrantedAsync(TID, DID, getMetadataResult);
|
|
78
80
|
setFromDTD(dtd);
|
|
79
81
|
if (layoutMode === LayoutModes.Update || (layoutMode === LayoutModes.Ark && DID)) {
|