@integry/sdk 4.7.26 → 4.7.27
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
|
@@ -407,6 +407,9 @@ const MultipurposeField = (props: MultipurposeFieldProps) => {
|
|
|
407
407
|
|
|
408
408
|
// Returns all those strings which are enclosed in curly braces {}
|
|
409
409
|
const getTags = (str: string) => {
|
|
410
|
+
if (typeof str !== 'string') {
|
|
411
|
+
return [];
|
|
412
|
+
}
|
|
410
413
|
return str.match(/{[^{}"'<>:]+}/g) || [];
|
|
411
414
|
};
|
|
412
415
|
|