yogevbd il y a 6 ans
Parent
révision
cf70cfcb53
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      lib/src/commands/Commands.ts

+ 3
- 0
lib/src/commands/Commands.ts Voir le fichier

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