Procházet zdrojové kódy

removed console.error on dismissModal without componentId

yogevbd před 6 roky
rodič
revize
d68e78feba
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  1. 0
    3
      lib/src/commands/Commands.ts

+ 0
- 3
lib/src/commands/Commands.ts Zobrazit soubor

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