react-crud-mobile 1.3.186 → 1.3.187

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,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.186",
3
+ "version": "1.3.187",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -602,6 +602,10 @@ export default function UIElement(props: ElementType) {
602
602
  };
603
603
 
604
604
  scope.dialogShow = (args?: MethodType) => {
605
+ let event = Utils.nvl(args?.event, {});
606
+
607
+ if (event?.debug) console.log(args);
608
+
605
609
  let main = ViewUtils.getCrud('view');
606
610
  let parent = main.dialog;
607
611
  let { crud } = args;
@@ -609,7 +613,6 @@ export default function UIElement(props: ElementType) {
609
613
  let edit = args.edit === true;
610
614
  let def: any = {};
611
615
  let rowItem = null;
612
- let event = Utils.nvl(args?.event, {});
613
616
  let component = event?.component;
614
617
 
615
618
  if (crud.is('row')) {