Thanks for any help in advance,
We have been rebuilding our CAMPUS Place Locator application. Nearly done but I have been stuck trying to remove NULL/Blank values from my Search suggestionTemplate results. The example below is when the result is an office without an employee in it:

Here is my widget code:
const searchWidget = new Search({
view: view,
allPlaceholder: "Search for Rooms, People, Last 4 of Phone ",
includeDefaultSources: false,
locationEnabled: false,
sources: [{
layer: SearchSpace,
searchFields: ["KNOWNAS", "SHORTNAME", "Phone", "MOBILE"],
suggestionTemplate: "Name: {KNOWNAS}, Room: {SHORTNAME}, Phone: {PHONE}, Cell: {MOBILE}, {WORKSITE} ",
exactMatch: false,
maxResults: 50,
minSuggestCharacters: 0,
maxSuggestions: 50,
outFields: ["*"],
placeholder: "Search for Rooms, People, Last 4 of Phone",
zoomScale: 500
},
]
});
ESRI's Search Widget example here: Search widget with multiple sources | Sample Code | ArcGIS Maps SDK for JavaScript 4.27 | ArcGIS Developers is similar to my code but their data doesn't contain any NULLs. What would the code look like if you wanted to remove "Party: " when the Senator didn't have an assigned party?

Thanks