[Metrics UI] Hide drawer on inventory (#85503)
* Hide drawer on inventory * Add lint fixes
This commit is contained in:
parent
5e172c97a2
commit
e8e6780fef
|
@ -167,18 +167,20 @@ export const Layout = () => {
|
|||
bottomMargin={height}
|
||||
topMargin={topActionHeight}
|
||||
/>
|
||||
<BottomDrawer
|
||||
measureRef={measureRef}
|
||||
interval={interval}
|
||||
formatter={formatter}
|
||||
>
|
||||
<Legend
|
||||
{view === 'map' && (
|
||||
<BottomDrawer
|
||||
measureRef={measureRef}
|
||||
interval={interval}
|
||||
formatter={formatter}
|
||||
bounds={bounds}
|
||||
dataBounds={dataBounds}
|
||||
legend={options.legend}
|
||||
/>
|
||||
</BottomDrawer>
|
||||
>
|
||||
<Legend
|
||||
formatter={formatter}
|
||||
bounds={bounds}
|
||||
dataBounds={dataBounds}
|
||||
legend={options.legend}
|
||||
/>
|
||||
</BottomDrawer>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</AutoSizer>
|
||||
|
|
Loading…
Reference in a new issue