mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 09:48:07 +02:00
metrics tab; not the default (#324)
This commit is contained in:
parent
4341f60ce6
commit
7f4517963b
@ -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>
|
||||
);
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user