Skip to content

Commit

Permalink
[CE-242] Modify options for new chain
Browse files Browse the repository at this point in the history
Delete unused options and configuration.

Change-Id: Ie62961107a7612e7e64875c5443f095832009382
Signed-off-by: Huiying Gong <541176616@qq.com>
  • Loading branch information
huiyingGong committed Jan 19, 2018
1 parent c3d84da commit 4862395
Showing 1 changed file with 12 additions and 34 deletions.
46 changes: 12 additions & 34 deletions user-dashboard/js/dashboard/src/routes/Chain/New/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -213,7 +192,6 @@ class NewChain extends PureComponent {
})(
<Select onChange={this.onTypeChange} placeholder={intl.formatMessage(messages.form.placeholder.chainType)}>
<Option value="fabric">Fabric</Option>
<Option value="ink">InkChain</Option>
</Select>
)}
</FormItem>
Expand Down

0 comments on commit 4862395

Please sign in to comment.