@topconsultnpm/sdkui-react 6.20.0-dev2.4 → 6.20.0-dev2.6
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.
|
@@ -792,8 +792,7 @@ const TMSearchResult = ({ allTasks = [], getAllTasks, deleteTaskByIdsCallback, a
|
|
|
792
792
|
if (!focusedItem) {
|
|
793
793
|
return (_jsxs(StyledPlaceholder, { children: [" ", _jsx("p", { children: "Seleziona un documento per visualizzare i dettagli della ricerca full-text" }), " "] }));
|
|
794
794
|
}
|
|
795
|
-
|
|
796
|
-
const ftExplanationsColumnIndex = selectedSearchResult?.selectMIDs?.findIndex(mid => mid === 0); //nosonar
|
|
795
|
+
const ftExplanationsColumnIndex = selectedSearchResult?.dtdResult?.columns?.findIndex(col => col.caption === 'FTExplanations');
|
|
797
796
|
if (ftExplanationsColumnIndex === undefined || ftExplanationsColumnIndex < 0) {
|
|
798
797
|
return (_jsxs(StyledPlaceholder, { children: [" ", _jsx("p", { children: "Nessuna info full-text disponibile" }), " "] }));
|
|
799
798
|
}
|
|
@@ -1413,11 +1412,6 @@ const StyledIndexingToggle = styled.button `
|
|
|
1413
1412
|
transform: translateY(1px);
|
|
1414
1413
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
1415
1414
|
}
|
|
1416
|
-
|
|
1417
|
-
svg {
|
|
1418
|
-
color: #2196F3;
|
|
1419
|
-
font-size: 18px;
|
|
1420
|
-
}
|
|
1421
1415
|
`;
|
|
1422
1416
|
const StyledLeftContent = styled.div `
|
|
1423
1417
|
display: flex;
|
|
@@ -1433,7 +1427,6 @@ const StyledCachedIcon = styled.div `
|
|
|
1433
1427
|
display: flex;
|
|
1434
1428
|
align-items: center;
|
|
1435
1429
|
justify-content: center;
|
|
1436
|
-
color: #4CAF50;
|
|
1437
1430
|
font-size: 16px;
|
|
1438
1431
|
`;
|
|
1439
1432
|
const StyledRefreshIcon = styled.div `
|