chore: add back update all channels balance

This commit is contained in:
JustSong 2023-08-13 00:02:37 +08:00
parent 1c80119fde
commit 4dcc9e5490

View File

@ -368,7 +368,7 @@ const ChannelsTable = () => {
}} style={{ cursor: 'pointer' }}> }} style={{ cursor: 'pointer' }}>
{renderBalance(channel.type, channel.balance)} {renderBalance(channel.type, channel.balance)}
</span>} </span>}
content="点击更新" content='点击更新'
basic basic
/> />
</Table.Cell> </Table.Cell>
@ -447,8 +447,8 @@ const ChannelsTable = () => {
<Button size='small' loading={loading} onClick={testAllChannels}> <Button size='small' loading={loading} onClick={testAllChannels}>
测试所有已启用通道 测试所有已启用通道
</Button> </Button>
{/* <Button size='small' onClick={updateAllChannelsBalance} <Button size='small' onClick={updateAllChannelsBalance}
loading={loading || updatingBalance}>更新所有已启用通道余额</Button> */} loading={loading || updatingBalance}>更新所有已启用通道余额</Button>
<Pagination <Pagination
floated='right' floated='right'
activePage={activePage} activePage={activePage}