From 2e812b546d4a96f950046822622bc1f2a92d546e Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Tue, 9 Apr 2024 15:01:43 +0100 Subject: [PATCH] added ticketnumber to setcurrentreference call --- components/myportal/topthree.js | 2 ++ components/myportal/topthree_reps.js | 2 ++ components/myportal/viewall.js | 2 ++ components/nosession.js | 2 +- components/search/dnssearchresults.js | 2 ++ components/search/searchresults.js | 2 ++ 6 files changed, 11 insertions(+), 1 deletion(-) diff --git a/components/myportal/topthree.js b/components/myportal/topthree.js index 554bce5a..a1a56247 100644 --- a/components/myportal/topthree.js +++ b/components/myportal/topthree.js @@ -189,6 +189,8 @@ const TopThree = (props) => { data-id={index} onClick={() => { setCurrentReference({ + "ticketnumber": + showTopThreeArr[key].ticketnumber, "currentReference": topThreeType != "watchedCases" ? topThreeType != diff --git a/components/myportal/topthree_reps.js b/components/myportal/topthree_reps.js index 92fc4ae5..fc86e376 100644 --- a/components/myportal/topthree_reps.js +++ b/components/myportal/topthree_reps.js @@ -169,6 +169,8 @@ const TopThree = (props) => { data-id={index} onClick={() => { setCurrentReference({ + "ticketnumber": + showTopThreeArr[key].ticketnumber, "currentReference": showTopThreeArr[key].caseRef, "currentType": topThreeType, diff --git a/components/myportal/viewall.js b/components/myportal/viewall.js index d50fbe38..be66c4d9 100644 --- a/components/myportal/viewall.js +++ b/components/myportal/viewall.js @@ -119,6 +119,8 @@ const ViewAllResults = (props) => { } onClick={() => { setCurrentReference({ + "ticketnumber": + resultsArr[key].ticketnumber, "currentReference": currentView.viewKey != "watchedCases" ? currentView.viewKey == diff --git a/components/nosession.js b/components/nosession.js index 5f717195..241bb2a0 100644 --- a/components/nosession.js +++ b/components/nosession.js @@ -46,7 +46,7 @@ const NoSessionWarning = (props) => { -