From 6129c0c6dfadf775f6721383471d0f3849597da2 Mon Sep 17 00:00:00 2001 From: valzav <i@valzav.com> Date: Tue, 23 Aug 2016 16:13:38 -0400 Subject: [PATCH] show Buy Steem button only to wallet's owner --- app/components/modules/UserWallet.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/modules/UserWallet.jsx b/app/components/modules/UserWallet.jsx index 8bd8ec796..f3085faa8 100644 --- a/app/components/modules/UserWallet.jsx +++ b/app/components/modules/UserWallet.jsx @@ -122,9 +122,9 @@ class UserWallet extends React.Component { <div className="column small-12 medium-8"> <h4>BALANCES</h4> </div> - <div className="column small-12 medium-4"> + {isMyAccount && <div className="column small-12 medium-4"> <button className="UserWallet__buysp button hollow float-right " onClick={this.onShowDepositSteem}>Buy Steem or Steem Power</button> - </div> + </div>} </div> <br /> <div className="UserWallet__balance row"> -- GitLab