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 (
<div>
<h2><Icon path={mdiAccountBox} size={2} />{" "}{props.user.email}</h2>
<Tabs defaultActiveKey={"metrics"}>
<Tab eventKey={"metrics"} title={"Metrics"}>
<MetricsTab />
</Tab>
<Tabs defaultActiveKey={"detail"}>
<Tab eventKey={"detail"} title={"Detail"}>
<PropertyTable object={props.user} custom={customProperties}/>
</Tab>
<Tab eventKey={"metrics"} title={"Metrics"}>
<MetricsTab />
</Tab>
</Tabs>
</div>
);

View File

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

View File

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