Fixed empty popup box problems

This commit is contained in:
frikky
2022-03-27 20:38:53 +02:00
parent 3cc3b62f74
commit aad00d6966
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -10908,6 +10908,11 @@ const AngularWorkflow = (defaultprops) => {
const iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
const drawerBleeding = 56;
if (defaultReturn === undefined || defaultReturn === null) {
console.log("DEFAULT RETURN: ", defaultReturn)
return null
}
return (
isMobile ?
<SwipeableDrawer
-1
View File
@@ -455,7 +455,6 @@ export const validateJson = (showResult) => {
jsonvalid = false
}
console.log("RES: ", result)
// This is where we start recursing
if (jsonvalid) {
// Check fields if they can be parsed too