fix: stiching API profile and last history

This commit is contained in:
caturbgs
2021-12-16 11:12:32 +07:00
parent 28c42b3453
commit 2cc6dc53c0
3 changed files with 29 additions and 29 deletions

View File

@@ -57,32 +57,32 @@ export const Profile = observer(() => {
<Col span={24}>
<div>
<Title strong>Profile</Title>
{/*<Row>*/}
{/* <Col span={10}>*/}
{/* <Text strong>Name</Text>*/}
{/* </Col>*/}
{/* <Col span={14}>*/}
{/* <Text>{store.authentication.profileData.username}</Text>*/}
{/* </Col>*/}
{/* <Col span={10}>*/}
{/* <Text strong>Role</Text>*/}
{/* </Col>*/}
{/* <Col span={14}>*/}
{/* <Text>{store.authentication.profileData.roles.name}</Text>*/}
{/* </Col>*/}
{/* <Col span={10}>*/}
{/* <Text strong>Superior</Text>*/}
{/* </Col>*/}
{/* <Col span={14}>*/}
{/* <Text>{store.authentication.profileData.superior.username}</Text>*/}
{/* </Col>*/}
{/* <Col span={10}>*/}
{/* <Text strong>Wallet</Text>*/}
{/* </Col>*/}
{/* <Col span={14}>*/}
{/* <Text>{store.authentication.profileData.wallet}</Text>*/}
{/* </Col>*/}
{/*</Row>*/}
<Row>
<Col span={10}>
<Text strong>Name</Text>
</Col>
<Col span={14}>
<Text>{store.authentication.profileData?.username}</Text>
</Col>
<Col span={10}>
<Text strong>Role</Text>
</Col>
<Col span={14}>
<Text>{store.authentication.profileData.roles?.name}</Text>
</Col>
<Col span={10}>
<Text strong>Superior</Text>
</Col>
<Col span={14}>
<Text>{store.authentication.profileData.superior?.username}</Text>
</Col>
<Col span={10}>
<Text strong>Wallet</Text>
</Col>
<Col span={14}>
<Text>{store.authentication.profileData.wallet}</Text>
</Col>
</Row>
</div>
</Col>
</Row>