Fix: Infra Monitor Filter UI Position
This commit is contained in:
1 parent
e8c9de6c63
commit
fbde1897bd
2 files changed
+18
-11
No files matched your search
@@ -52,7 +52,12 @@ const Filter = ({
|
|||||||
}, [selectedStatus]);
|
}, [selectedStatus]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box
|
||||||
|
sx={{
|
||||||
|
m: theme.spacing(2),
|
||||||
|
ml: theme.spacing(4),
|
||||||
|
}}
|
||||||
|
>
|
||||||
<FilterHeader
|
<FilterHeader
|
||||||
header={t("status")}
|
header={t("status")}
|
||||||
options={statusOptions}
|
options={statusOptions}
|
||||||
|
|||||||
@@ -97,16 +97,18 @@ const InfrastructureMonitors = () => {
|
|||||||
shouldRender={!isLoading}
|
shouldRender={!isLoading}
|
||||||
path="/infrastructure/create"
|
path="/infrastructure/create"
|
||||||
/>
|
/>
|
||||||
<MonitorCountHeader
|
<Stack direction={"row"}>
|
||||||
shouldRender={!isLoading}
|
<MonitorCountHeader
|
||||||
monitorCount={summary?.totalMonitors ?? 0}
|
shouldRender={!isLoading}
|
||||||
/>
|
monitorCount={summary?.totalMonitors ?? 0}
|
||||||
<Filter
|
/>
|
||||||
selectedStatus={selectedStatus}
|
<Filter
|
||||||
setSelectedStatus={setSelectedStatus}
|
selectedStatus={selectedStatus}
|
||||||
setToFilterStatus={setToFilterStatus}
|
setSelectedStatus={setSelectedStatus}
|
||||||
handleReset={handleReset}
|
setToFilterStatus={setToFilterStatus}
|
||||||
/>
|
handleReset={handleReset}
|
||||||
|
/>
|
||||||
|
</Stack>
|
||||||
<MonitorsTable
|
<MonitorsTable
|
||||||
shouldRender={!isLoading}
|
shouldRender={!isLoading}
|
||||||
monitors={monitors}
|
monitors={monitors}
|
||||||
|
|||||||
Reference in new issue
Block a user