From 115065091646205737649ccfe94566bbdc86f86b Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 8 Aug 2018 09:06:30 +0200 Subject: [PATCH] clear accounts list before renewing --- src/app/tabs/run-tab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index bb19b69ca6..f05caefc8c 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -203,6 +203,7 @@ function fillAccountsList (container, self) { var $txOrigin = $(container.querySelector('#txorigin')) $txOrigin.empty() self._deps.udapp.getAccounts((err, accounts) => { + $txOrigin.empty() if (err) { addTooltip(`Cannot get account list: ${err}`) } if (accounts && accounts[0]) { for (var a in accounts) { $txOrigin.append($('