@integry/sdk 4.6.43 → 4.6.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -511,7 +511,7 @@ const MultipurposeField = (props: MultipurposeFieldProps) => {
|
|
|
511
511
|
const getStringFromEnd = (str: string): string => {
|
|
512
512
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
513
513
|
const regex = /\{([^{}]+)$/;
|
|
514
|
-
const matches = str.match(regex);
|
|
514
|
+
const matches = (str || '').match(regex);
|
|
515
515
|
|
|
516
516
|
if (matches && matches.length > 1) {
|
|
517
517
|
const capturedString = matches[0];
|