From f6cd76ed38088f7da16155e1d33fd4f8f2436d38 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Thu, 17 Jul 2025 12:21:26 +0100 Subject: [PATCH] added chaining and a blank --- .vscode/launch.json | 2 +- components/case/representation/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 39c6d864..8f9df645 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,7 +8,7 @@ "name": "Next.js: debug server-side", "type": "node-terminal", "request": "launch", - "command": "yarn run dev" + "command": "npm run dev" }, {"name": "Launch Chrome against localhost", "type": "pwa-chrome", diff --git a/components/case/representation/index.js b/components/case/representation/index.js index d2484ce8..bec951e1 100644 --- a/components/case/representation/index.js +++ b/components/case/representation/index.js @@ -1004,7 +1004,7 @@ let MakeRepresentation = (props) => { "pinswg_siteaddresstown": detailsObj.pinswg_siteaddresstown, "pinswg_siteaddresspostcode": detailsObj.pinswg_siteaddresspostcode, - "pinswg_lpareference": resultsObj.pinswg_lpareference, + "pinswg_lpareference": resultsObj?.pinswg_lpareference || "", "_pinswg_appellant_value": detailsObj["_pinswg_appellant_value"], "_pinswg_appellant_value@OData.Community.Display.V1.FormattedValue":