Browse Source

triggerToaster call - remove 'display' property

all-modes
petitPapillon 8 years ago
parent
commit
ca5d666e45
  1. 2
      react/src/components/addcoin/addcoin.js

2
react/src/components/addcoin/addcoin.js

@ -283,7 +283,7 @@ class AddCoin extends React.Component {
for (let mode of modes) {
if (this.existingCoins[mode].indexOf(coin) !== -1) {
const message = `${coin} ${translate('ADD_COIN.ALREADY_ADDED')} ${translate('ADD_COIN.IN')} ${mode} ${translate('ADD_COIN.MODE')}`;
Store.dispatch(triggerToaster(true, message, translate('ADD_COIN.COIN_ALREADY_ADDED'), 'error'));
Store.dispatch(triggerToaster(message, translate('ADD_COIN.COIN_ALREADY_ADDED'), 'error'));
return true;
}
}

Loading…
Cancel
Save