@topconsultnpm/sdkui-react-beta 6.8.21 → 6.8.22
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.
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { ResultTypes } from '@topconsultnpm/sdk-ts-beta';
|
|
3
3
|
export type ResultInfo = {
|
|
4
4
|
rowIndex: number;
|
|
5
|
-
id1: number;
|
|
6
|
-
id2: number;
|
|
5
|
+
id1: number | undefined;
|
|
6
|
+
id2: number | undefined;
|
|
7
7
|
resultType: ResultTypes;
|
|
8
8
|
description?: any;
|
|
9
9
|
};
|
|
@@ -10,7 +10,7 @@ import { FormModes } from '../../ts';
|
|
|
10
10
|
import { TMColors } from '../../utils/theme';
|
|
11
11
|
import { StyledDivHorizontal, StyledDraggableDiv, StyledModalContainer } from '../base/Styled';
|
|
12
12
|
import TMButton from '../base/TMButton';
|
|
13
|
-
import { TMExceptionBoxManager
|
|
13
|
+
import { TMExceptionBoxManager } from '../base/TMPopUp';
|
|
14
14
|
import TMSpinner from '../base/TMSpinner';
|
|
15
15
|
import { TMTabItemBadge } from '../base/TMTab';
|
|
16
16
|
import TMTooltip from '../base/TMTooltip';
|
|
@@ -626,7 +626,7 @@ const TMQueryEditor = ({ formMode, inputData, onQDChanged, runQdImmediately = fa
|
|
|
626
626
|
let result = await SDK_Globals.tmSession?.NewSearchEngine().SearchByIDAsync(qd);
|
|
627
627
|
let dcmtsFound = result?.dcmtsFound ?? 0;
|
|
628
628
|
if (dcmtsFound <= 0)
|
|
629
|
-
|
|
629
|
+
ShowAlert({ message: "Nessun documento trovato", mode: 'info', title: "Risultato ricerca", duration: 3000 });
|
|
630
630
|
else {
|
|
631
631
|
setElapsedTime(new Date().getTime() - startTime);
|
|
632
632
|
setResultSearch(result);
|