mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
CE-1955 - Avoid a few null pointers if missing compareField
This commit is contained in:
@ -41,6 +41,10 @@ export class SavedBulkLoadProfileUtils
|
||||
const fieldName = bulkLoadField.field.name;
|
||||
const compareField = compareFieldsMap[fieldName];
|
||||
const baseField = baseFieldsMap[fieldName];
|
||||
if(!compareField)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (baseField)
|
||||
{
|
||||
@ -119,6 +123,10 @@ export class SavedBulkLoadProfileUtils
|
||||
{
|
||||
const fieldName = bulkLoadField.field.name;
|
||||
const compareField = compareFieldsMap[fieldName];
|
||||
if(!compareField)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// else - we're not checking for changes to individual fields - rather - we're just checking if fields were added or removed. //
|
||||
|
Reference in New Issue
Block a user