@topconsultnpm/sdkui-react 6.21.0-dev3.28 → 6.21.0-dev3.29

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.
@@ -493,8 +493,10 @@ handleNavigateToWGs, handleNavigateToDossiers, }) => {
493
493
  onOpenS4TViewerRequest?.([{ TID: focusedItem.TID, DID: focusedItem.DID }]);
494
494
  }, [openS4TViewer, inputDID, focusedItem, fromDTD]);
495
495
  useEffect(() => {
496
- if (!focusedItem)
496
+ if (!focusedItem) {
497
+ setCurrentDcmt(undefined);
497
498
  return;
499
+ }
498
500
  if (!fromDTD)
499
501
  return;
500
502
  let dtd = searchResults.length > 1 ? searchResults.find(res => res.fromTID == focusedItem?.TID)?.dtdResult : searchResults[0]?.dtdResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react",
3
- "version": "6.21.0-dev3.28",
3
+ "version": "6.21.0-dev3.29",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",