metrics tab; not the default (#324)

This commit is contained in:
Michael Quigley 2023-05-11 15:25:01 -04:00
parent 4341f60ce6
commit 7f4517963b
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
3 changed files with 11 additions and 11 deletions

View File

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

View File

@ -26,12 +26,12 @@ const EnvironmentDetail = (props) => {
<Tab eventKey={"shares"} title={"Shares"}> <Tab eventKey={"shares"} title={"Shares"}>
<SharesTab selection={props.selection} /> <SharesTab selection={props.selection} />
</Tab> </Tab>
<Tab eventKey={"metrics"} title={"Metrics"}>
<MetricsTab selection={props.selection} />
</Tab>
<Tab eventKey={"detail"} title={"Detail"}> <Tab eventKey={"detail"} title={"Detail"}>
<DetailTab environment={detail.environment} /> <DetailTab environment={detail.environment} />
</Tab> </Tab>
<Tab eventKey={"metrics"} title={"Metrics"}>
<MetricsTab selection={props.selection} />
</Tab>
<Tab eventKey={"actions"} title={"Actions"}> <Tab eventKey={"actions"} title={"Actions"}>
<ActionsTab environment={detail.environment} /> <ActionsTab environment={detail.environment} />
</Tab> </Tab>

View File

@ -64,13 +64,13 @@ const ShareDetail = (props) => {
return ( return (
<div> <div>
<h2><Icon path={mdiShareVariant} size={2} />{" "}{detail.backendProxyEndpoint}</h2> <h2><Icon path={mdiShareVariant} size={2} />{" "}{detail.backendProxyEndpoint}</h2>
<Tabs defaultActiveKey={"metrics"}> <Tabs defaultActiveKey={"detail"}>
<Tab eventKey={"metrics"} title={"Metrics"}>
<MetricsTab share={detail} />
</Tab>
<Tab eventKey={"detail"} title={"Detail"}> <Tab eventKey={"detail"} title={"Detail"}>
<PropertyTable object={detail} custom={customProperties} /> <PropertyTable object={detail} custom={customProperties} />
</Tab> </Tab>
<Tab eventKey={"metrics"} title={"Metrics"}>
<MetricsTab share={detail} />
</Tab>
<Tab eventKey={"actions"} title={"Actions"}> <Tab eventKey={"actions"} title={"Actions"}>
<ActionsTab share={detail} /> <ActionsTab share={detail} />
</Tab> </Tab>