react-crud-mobile 1.3.65 → 1.3.66

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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.65",
2
+ "version": "1.3.66",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -521,6 +521,10 @@ export default function UIElement(props: ElementType) {
521
521
  <UIView {...props} scope={scope} crud={crud} />
522
522
  )}
523
523
 
524
+ {scope.isType('dialog') && (
525
+ <UIModal {...props} scope={scope} crud={crud} />
526
+ )}
527
+
524
528
  {isShowChild() && (
525
529
  <UIChildren
526
530
  {...props}
@@ -570,10 +574,6 @@ export default function UIElement(props: ElementType) {
570
574
  return <UIOrder {...props} scope={scope} crud={crud} />;
571
575
  }
572
576
 
573
- if (scope.isType('dialog')) {
574
- return <UIModal {...props} scope={scope} crud={crud} />;
575
- }
576
-
577
577
  return (
578
578
  <Tag ref={ref} style={getStyle()} {...custom}>
579
579
  {props.children}