From 4862395b18229cf06e8a192b4e809edb68e45cdc Mon Sep 17 00:00:00 2001 From: Huiying Gong <541176616@qq.com> Date: Fri, 19 Jan 2018 11:37:34 +0800 Subject: [PATCH] [CE-242] Modify options for new chain Delete unused options and configuration. Change-Id: Ie62961107a7612e7e64875c5443f095832009382 Signed-off-by: Huiying Gong <541176616@qq.com> --- .../dashboard/src/routes/Chain/New/index.js | 46 +++++-------------- 1 file changed, 12 insertions(+), 34 deletions(-) diff --git a/user-dashboard/js/dashboard/src/routes/Chain/New/index.js b/user-dashboard/js/dashboard/src/routes/Chain/New/index.js index ceaade4f..03db9760 100644 --- a/user-dashboard/js/dashboard/src/routes/Chain/New/index.js +++ b/user-dashboard/js/dashboard/src/routes/Chain/New/index.js @@ -32,43 +32,22 @@ class NewChain extends PureComponent { selectedConfig: null, chainType: '', configs: [ + //{ + // id: 1, + // type: "fabric", + // configName: "Fabric", + // configType: 'basic', + // config: { + // size: 1, + // org: 1, + // peer: 1 + // } + //} + //, { id: 1, type: "fabric", configName: "Fabric", - configType: 'basic', - config: { - size: 1, - org: 1, - peer: 1 - } - }, - { - id: 2, - type: "fabric", - configName: "Fabric", - configType: 'advance', - config: { - size: 4, - org: 2, - peer: 4 - } - }, - { - id: 3, - type: "ink", - configName: "InkChain", - configType: 'basic', - config: { - size: 1, - org: 1, - peer: 2 - } - }, - { - id: 4, - type: "ink", - configName: "InkChain", configType: 'advance', config: { size: 4, @@ -213,7 +192,6 @@ class NewChain extends PureComponent { })( )}