Элементы управления архивом занесены в LoaderPortal

This commit is contained in:
goodmice 2022-08-08 11:14:17 +05:00
parent cda32551ed
commit 310253133d

View File

@ -222,7 +222,7 @@ const Archive = memo(() => {
const chartData = useMemo(() => cutData(dataSaub, domain.min, domain.max), [dataSaub, domain])
return (
<>
<LoaderPortal show={showLoader}>
<Flex style={{margin: '8px 8px 0'}}>
<div>
Начальная дата:&nbsp;
@ -243,7 +243,6 @@ const Archive = memo(() => {
</div>
<CopyUrlButton style={{ marginLeft: '1rem' }} />
</Flex>
<LoaderPortal show={showLoader}>
<D3MonitoringCharts
datasetGroups={chartGroups}
data={chartData}
@ -263,7 +262,6 @@ const Archive = memo(() => {
onWheel={onGraphWheel}
/>
</LoaderPortal>
</>
)
})