Skip to content

Commit

Permalink
add console warning to getNestedPropertyValue
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasomayrat committed Jan 23, 2024
1 parent 7ede0dd commit 5222327
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ export class MgtPicker extends MgtTemplatedTaskComponent {
value = value[key] as object | string;

if (value === undefined) {
console.warn(`mgt-picker: Key '${key}' is undefined.`);
return '';
}
}
Expand Down

0 comments on commit 5222327

Please sign in to comment.