+
{title}
+
+
+
+
+
+ File Name |
+ File Size |
+
+
+
+ {files.map((file) => (
+
+ {clipFileName(file.name)} |
+ {filesize(file.size || 0)} |
+
+ ))}
+
+
+
+ {hasScroll &&
}
+
+
+ {files.length > 0 && (
+ {calculateTotalSize(files)}
+ )}
+ {files.length.toLocaleString()} files
+
+
+ );
+}
+
+/**
+ * Modal overlay for displaying details of selected files for NAS cache (VAST) operations.
+ */
+export default function CopyFileManifest({ onDismiss }: ModalProps) {
+ const dispatch = useDispatch();
+ const fileSelection = useSelector(
+ selection.selectors.getFileSelection,
+ FileSelection.selectionsAreEqual
+ );
+
+ const [fileDetails, setFileDetails] = React.useState