Fakultas Ilmu Komputer UI

Commit 81ef20ab authored by Zafir Rasyidi Taufik's avatar Zafir Rasyidi Taufik
Browse files

[CHORES] Fixed account activation and deactivation bug

parent c8fc9e2e
Pipeline #82031 passed with stages
in 4 minutes and 27 seconds
......@@ -117,9 +117,9 @@ export default function AccountManagementPage() {
phoneNumber={data[3]?.toString()}
district={data[4]?.toString()}
sub_district={data[5]?.toString()}
is_admin={data[9].toString() === 'true'}
is_verified={data[10].toString() === 'true'}
is_active={data[11].toString() === 'true'}
is_admin={data[10].toString() === 'true'}
is_verified={data[11].toString() === 'true'}
is_active={data[12].toString() === 'true'}
numberOfActivities={parseInt(data[6]?.toString(), 10)}
updateTable={refreshTable}
/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment