From b8eacbbc8707fa831f38c0d429287aa4673d1f7d Mon Sep 17 00:00:00 2001 From: Zhiting Lin Date: Tue, 2 Apr 2019 11:06:45 +0800 Subject: [PATCH] update the address index --- src/features/accounts/components/AccountShow.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/accounts/components/AccountShow.jsx b/src/features/accounts/components/AccountShow.jsx index 02c1678..f1953c0 100644 --- a/src/features/accounts/components/AccountShow.jsx +++ b/src/features/accounts/components/AccountShow.jsx @@ -121,7 +121,7 @@ class AccountShow extends BaseShow { {(this.state.addresses || []).length > 0 && ({ - label: index, + label: index+1, value: item.address, program: (e => this.showProgram(item.program)) }))}/> @@ -130,7 +130,7 @@ class AccountShow extends BaseShow { {(this.state.changeAddresses || []).length > 0 && ({ - label: index, + label: index+1, value: item.address, program: (e => this.showProgram(item.program)) }))}/> -- 2.11.0