Update DrawerControl.tsx
This commit is contained in:
parent
1bb7066348
commit
40beb16f6f
|
|
@ -1313,6 +1313,20 @@ export const DrawerSwitchControl: React.FC<DrawerProps> = ({
|
|||
{normalizePortName(port.name)}
|
||||
</Text>
|
||||
</Box>
|
||||
<Box
|
||||
style={{
|
||||
display:
|
||||
port.poe === "ON" ? "block" : "none",
|
||||
position: "absolute",
|
||||
bottom: "2px",
|
||||
right: "2px",
|
||||
zIndex: 10,
|
||||
}}
|
||||
>
|
||||
<Text size="10px" fs={"italic"}>
|
||||
poe
|
||||
</Text>
|
||||
</Box>
|
||||
</Card>
|
||||
))}
|
||||
</Flex>
|
||||
|
|
@ -1400,6 +1414,20 @@ export const DrawerSwitchControl: React.FC<DrawerProps> = ({
|
|||
{normalizePortName(port.name)}
|
||||
</Text>
|
||||
</Box>
|
||||
<Box
|
||||
style={{
|
||||
display:
|
||||
port.poe === "ON" ? "block" : "none",
|
||||
position: "absolute",
|
||||
bottom: "2px",
|
||||
right: "2px",
|
||||
zIndex: 10,
|
||||
}}
|
||||
>
|
||||
<Text size="10px" fs={"italic"}>
|
||||
poe
|
||||
</Text>
|
||||
</Box>
|
||||
</Card>
|
||||
))}
|
||||
</Box>
|
||||
|
|
|
|||
Loading…
Reference in New Issue