upd: button unduh dokumen divisi

This commit is contained in:
amel
2025-01-28 12:42:27 +08:00
parent ba5276f285
commit f54b1cb25b

View File

@@ -345,24 +345,25 @@ export default function NavbarDocumentDivision() {
>
<Flex justify={"center"} align={"center"} h={"100%"} w={"100%"}>
<SimpleGrid cols={{ base: 5, sm: 5, lg: 5 }} spacing="xs">
<Flex
justify={"center"}
align={"center"}
direction={"column"}
onClick={() => {
if (selectedFiles.length > 0 && copyAllowed) {
onDownload("selected");
}
}}
>
<BsDownload
size={20}
color={
selectedFiles.length > 0 && copyAllowed
? "white"
: "#656060"
}
/>
<Flex justify={"center"} align={"center"} direction={"column"} >
<ActionIcon
variant="subtle"
aria-label="delete"
onClick={() => {
if (selectedFiles.length > 0 && copyAllowed) {
onDownload("selected");
}
}}
>
<BsDownload
size={20}
color={
selectedFiles.length > 0 && copyAllowed
? "white"
: "#656060"
}
/>
</ActionIcon>
<Text
fz={12}
ta={"center"}