@bindu-dashing/dam-solution-v2 5.8.95 → 5.8.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -35,7 +35,7 @@ const FileDetails = ({ open, handleClose, file, files, onCloseSelection, }) => {
|
|
|
35
35
|
prevFileId.current = currentFileId;
|
|
36
36
|
}, [currentFileId]);
|
|
37
37
|
const currentFile = useMemo(() => {
|
|
38
|
-
console.log("
|
|
38
|
+
console.log("file", file, "fileData", fileData, "isFetching", isFetching, "id", id);
|
|
39
39
|
if (id) {
|
|
40
40
|
return file;
|
|
41
41
|
}
|
|
@@ -69,6 +69,7 @@ const FileDetails = ({ open, handleClose, file, files, onCloseSelection, }) => {
|
|
|
69
69
|
}, [open]);
|
|
70
70
|
if (!open && !visible)
|
|
71
71
|
return null;
|
|
72
|
+
console.log("currentFile", currentFile);
|
|
72
73
|
const modalContent = (_jsxs("div", { className: `md-lib-fixed md-lib-inset-0 md-lib-z-[1000] md-lib-w-screen md-lib-h-screen md-lib-bg-white dark:md-lib-bg-darkPrimary md-lib-text-black dark:md-lib-text-white md-lib-overflow-auto md-lib-transform md-lib-transition-all md-lib-duration-300 md-lib-ease-in-out ${open && visible
|
|
73
74
|
? "md-lib-opacity-100 md-lib-translate-y-0"
|
|
74
75
|
: "md-lib-opacity-0 md-lib-translate-y-4"}`, onTransitionEnd: () => {
|