react-crud-mobile 1.3.9 → 1.3.11

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.9",
2
+ "version": "1.3.11",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -55,9 +55,6 @@ export default function UIModal(props: ChildType) {
55
55
 
56
56
  scope.dialogShow = (args?: MethodType) => {
57
57
  let { crud } = args;
58
-
59
- console.log(index);
60
-
61
58
  let name = scope.getName('modal');
62
59
  let edit = args.edit === true;
63
60
  let def: any = {};
@@ -130,9 +127,13 @@ export default function UIModal(props: ChildType) {
130
127
 
131
128
  let color = Utils.nvl(headerStyle.color, 'white');
132
129
  let defaults = { color };
130
+ let key = `${scope.currentDialog.name}-${index}`;
131
+
132
+ console.log(key);
133
133
 
134
134
  return (
135
135
  <Modal
136
+ key={key}
136
137
  animationType="slide"
137
138
  transparent={true}
138
139
  visible={modalVisible}