From ae007d18ad2285d9b2d8e9b1d542ae6b024f52ab Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 15 May 2025 14:04:27 +0100 Subject: [PATCH] added reps/cons details on viewall --- components/myportal/viewall.js | 6 ++++++ package.json | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/components/myportal/viewall.js b/components/myportal/viewall.js index 249992fb..c05a9d3f 100644 --- a/components/myportal/viewall.js +++ b/components/myportal/viewall.js @@ -36,6 +36,8 @@ import { setMyRepresentationsDetails, } from "../../store/myRepresentations/action"; +import RepsOnResults from "../search/repsonresults"; + const ViewAllResults = (props) => { const { searchString, @@ -269,6 +271,10 @@ const ViewAllResults = (props) => { "_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue" ]} + {currentView.viewKey == "myRepresentations" && ( <>
diff --git a/package.json b/package.json index 9f5b7f85..bb9fbe27 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "dev:app": "node ./server/server.js", "build": "NODE_ENV=production node_modules/next/dist/bin/next build", "start2": "NODE_ENV=production node ./server.js", - "start3": "NODE_ENV=production node_modules/next/dist/bin/next start", - "start": "NODE_ENV=production next start", + "start3": "NODE_ENV=production next start", + "start": "NODE_ENV=production node_modules/next/dist/bin/next start", "lint": "next lint", "prisma:generate": "prisma generate" }, @@ -105,4 +105,4 @@ "eslint-plugin-jsdoc": "^48.2.3", "prisma": "^5.0.0" } -} +} \ No newline at end of file