We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52fd6e7 commit d4b4916Copy full SHA for d4b4916
src/main/webapp/ui/src/Inventory/Sample/Content/SubsampleDetails.js
@@ -102,8 +102,7 @@ function SubsampleDetails({ search }: SubsampleDetailsArgs) {
102
* they would end up viewing the first result of the previous page and
103
* not the last result of that previous page which is what they intend.
104
*/
105
- if (search.filteredResults.length > 0 && !processingCardNav)
106
- void search.setActiveResult(search.filteredResults[0]);
+ if (!processingCardNav) void search.setActiveResult();
107
}, [search.filteredResults]);
108
109
const subsample = search.activeResult;
0 commit comments