From 27cc66b2426843ba249381ad1b5f7e69e7acb6d1 Mon Sep 17 00:00:00 2001 From: Alexey Nalivaiko Date: Thu, 25 Apr 2019 18:10:45 +0300 Subject: [PATCH] [AMSA-chore] fix adding new Admob account --- src/core/store.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/store.ts b/src/core/store.ts index 82e8381..d92a40f 100644 --- a/src/core/store.ts +++ b/src/core/store.ts @@ -312,7 +312,10 @@ export class Store { this.appodealAccounts = accounts; if (!this.state.selectedAppodealAccount) { this.selectAppodealAccount(updatedAccounts[0] || null); + } else { + this.selectAppodealAccount(this.state.selectedAppodealAccount); } + return accounts; }); }