Update DrawerControl.tsx

This commit is contained in:
nguyentrungthat 2025-11-28 09:09:22 +07:00
parent 1bb7066348
commit 40beb16f6f
1 changed files with 28 additions and 0 deletions

View File

@ -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>