fix(ui) - session settings dropdown
This commit is contained in:
parent
f829ef05c6
commit
0e153c7c0b
5 changed files with 5 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ function AlertsView({ siteId, init }: IAlertsView) {
|
|||
<PageTitle title="Alerts" />
|
||||
</div>
|
||||
<div className="ml-auto flex items-center">
|
||||
<Link to={withSiteId(alertCreate(), siteId)}><Button variant="primary" onClick={null}>Create</Button></Link>
|
||||
<Link to={withSiteId(alertCreate(), siteId)}><Button variant="primary" onClick={null}>Create Alert</Button></Link>
|
||||
<div className="ml-4 w-1/4" style={{ minWidth: 300 }}>
|
||||
<AlertsSearch />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ function DashboardsView({ history, siteId }: { history: any, siteId: string }) {
|
|||
<PageTitle title="Dashboards" />
|
||||
</div>
|
||||
<div className="ml-auto flex items-center">
|
||||
<Button variant="primary" onClick={onAddDashboardClick}>Create</Button>
|
||||
<Button variant="primary" onClick={onAddDashboardClick}>Create Dashboard</Button>
|
||||
<div className="ml-4 w-1/4" style={{ minWidth: 300 }}>
|
||||
<DashboardSearch />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function MetricsView({ siteId }: Props) {
|
|||
<PageTitle title="Metrics" className="" />
|
||||
</div>
|
||||
<div className="ml-auto flex items-center">
|
||||
<Link to={'/metrics/create'}><Button variant="primary">Create</Button></Link>
|
||||
<Link to={'/metrics/create'}><Button variant="primary">Create Metric</Button></Link>
|
||||
<div className="ml-4 w-1/4" style={{ minWidth: 300 }}>
|
||||
<MetricsSearch />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ function UserMenu(props: RouteComponentProps<Props>) {
|
|||
style={{ width: '250px' }}
|
||||
className={cn(className, 'absolute right-0 top-0 bg-white border mt-14')}
|
||||
>
|
||||
<div className="flex items-start p-3 border-b border-dashed">
|
||||
<div className="flex items-start p-3 border-b border-dashed hover:bg-active-blue">
|
||||
<div className="w-10 h-10 bg-tealx rounded-full flex items-center justify-center mr-2 color-white shrink-0 uppercase">
|
||||
{getInitials(account.name)}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ function ListingVisibility() {
|
|||
<div className="col-span-4">
|
||||
<Select
|
||||
options={numberOptions}
|
||||
defaultValue={numberOptions[0].value}
|
||||
defaultValue={durationSettings.operator || numberOptions[0].value}
|
||||
onChange={({ value }) => {
|
||||
changeSettings({ operator: value.value })
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue