yogevbd hace 7 años
padre
commit
cf70cfcb53
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      lib/src/commands/Commands.ts

+ 3
- 0
lib/src/commands/Commands.ts Ver fichero

50
   }
50
   }
51
 
51
 
52
   public dismissModal(componentId) {
52
   public dismissModal(componentId) {
53
+    if (!componentId) {
54
+      console.error('dismissModal - componentId is missing');
55
+    }
53
     const result = this.nativeCommandsSender.dismissModal(componentId);
56
     const result = this.nativeCommandsSender.dismissModal(componentId);
54
     this.commandsObserver.notify('dismissModal', { componentId });
57
     this.commandsObserver.notify('dismissModal', { componentId });
55
     return result;
58
     return result;