metrics tab first, active by default (#234)

This commit is contained in:
Michael Quigley 2023-05-10 14:23:32 -04:00
parent b5b3385b46
commit 0f6d05f449
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -16,13 +16,13 @@ const AccountDetail = (props) => {
return (
<div>
<h2><Icon path={mdiAccountBox} size={2} />{" "}{props.user.email}</h2>
<Tabs defaultActiveKey={"detail"}>
<Tab eventKey={"detail"} title={"Detail"}>
<PropertyTable object={props.user} custom={customProperties}/>
</Tab>
<Tabs defaultActiveKey={"metrics"}>
<Tab eventKey={"metrics"} title={"Metrics"}>
<MetricsTab />
</Tab>
<Tab eventKey={"detail"} title={"Detail"}>
<PropertyTable object={props.user} custom={customProperties}/>
</Tab>
</Tabs>
</div>
);