This commit is contained in:
Fadli 2023-01-11 03:24:47 +07:00
commit f4a0b1378a
2 changed files with 3 additions and 3 deletions

View File

@ -307,7 +307,7 @@ export const DetailUser = observer(() => {
render: (text, record) => { render: (text, record) => {
return ( return (
<Text> <Text>
{format(parseISO(record.created_at), "MM-dd-yyyy HH:mm:ss")} {moment(record.created_at).format( "MM-DD-yyyy HH:mm:ss")}
</Text> </Text>
); );
}, },

View File

@ -238,7 +238,7 @@ export const Profile = observer(() => {
render: (text, record) => { render: (text, record) => {
return ( return (
<Text> <Text>
{format(parseISO(record.created_at), "dd-MM-yyyy HH:mm:ss")} {moment(record.created_at).format( "MM-DD-yyyy HH:mm:ss")}
</Text> </Text>
); );
}, },
@ -418,7 +418,7 @@ export const Profile = observer(() => {
} }
/> />
<Card>{console.log(store.authentication.profileData?.userDetail,':)')} <Card>{console.log(store.authentication.profileData?.userDetail,':)')}
{store.authentication.userData.role === "Admin Partner" ? ( {store.authentication.userData.role === "Admin Partner" ? (
<Row style={{ marginBottom: 10 }}> <Row style={{ marginBottom: 10 }}>
<Title strong>Profile</Title> <Title strong>Profile</Title>