From 90cadc4e837f22dd8176c3c38b53ecebecad0b5d Mon Sep 17 00:00:00 2001 From: Ruslan Salikhov Date: Sat, 24 Jun 2017 14:20:18 +0500 Subject: [PATCH] Disabling deposit/withdraw from account screen Using hash history routing running server.js --- web/app/components/Account/AccountOverview.jsx | 4 +++- web/server.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/app/components/Account/AccountOverview.jsx b/web/app/components/Account/AccountOverview.jsx index 5e3c81c130..1cbbd9f3fb 100644 --- a/web/app/components/Account/AccountOverview.jsx +++ b/web/app/components/Account/AccountOverview.jsx @@ -173,7 +173,9 @@ class AccountOverview extends React.Component { const includeAsset = !hiddenAssets.includes(asset_type); const hasBalance = !!balanceObject.get("balance"); const hasOnOrder = !!orders[asset_type]; - const canDepositWithdraw = !!this.props.backedCoins.get("OPEN", []).find(a => a.symbol === asset.get("symbol")); + // FIXME: temporary disabled deposit/withdraw from account screen + // because wrong form used here + const canDepositWithdraw = false;//!!this.props.backedCoins.get("OPEN", []).find(a => a.symbol === asset.get("symbol")); const canWithdraw = canDepositWithdraw && (hasBalance && balanceObject.get("balance") != 0); const canBuy = !!this.props.bridgeCoins.get(symbol); diff --git a/web/server.js b/web/server.js index a1db753238..744d29f1af 100644 --- a/web/server.js +++ b/web/server.js @@ -5,7 +5,7 @@ var devMiddleware = require("webpack-dev-middleware"); var hotMiddleware = require("webpack-hot-middleware"); var ProgressPlugin = require("webpack/lib/ProgressPlugin"); -var config = require("./webpack.config.js")({prod: false}); +var config = require("./webpack.config.js")({prod: false, hash: true}); var app = express(); var compiler = webpack(config);