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