From ae6b453f0da73be07c196982f34ed66e4329c5ed Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sun, 17 Nov 2019 11:45:23 +0100 Subject: [PATCH] Disable stash operations (when not own) (#1901) --- .../app-staking/src/Actions/Account/index.tsx | 15 +++++++++++---- packages/app-staking/src/Actions/Accounts.tsx | 13 +++++++------ 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/packages/app-staking/src/Actions/Account/index.tsx b/packages/app-staking/src/Actions/Account/index.tsx index bb0fdda456..45442f4b05 100644 --- a/packages/app-staking/src/Actions/Account/index.tsx +++ b/packages/app-staking/src/Actions/Account/index.tsx @@ -30,6 +30,7 @@ interface Props extends ApiProps, I18nProps { allStashes?: string[]; balances_all?: DerivedBalances; className?: string; + ownStash: boolean; recentlyOnline?: DerivedHeartbeats; staking_info?: DerivedStaking; stashOptions: KeyringSectionOption[]; @@ -345,7 +346,7 @@ class Account extends React.PureComponent { key='settings' onClose={this.toggleSettingPopup} open={isSettingPopupOpen} - position='bottom left' + position='bottom right' trigger={