feat(storage): add archive storage support for assets

This commit is contained in:
yiling
2026-11-02 13:19:10 +08:00
parent 49a2d7c380
commit 9097ec12bb
100 changed files with 6180 additions and 170 deletions
@@ -514,7 +514,14 @@ export const ModelViewer = React.forwardRef<MediaController, FileViewerProps>(
zoom={zoom}
isFullScreen={isFullScreen}
allowDownload={allowDownload}
onDownload={data.media?.original?.key ? handleDownload : undefined}
onDownload={
data.media?.original?.key &&
data.status !== 'archived' &&
data.status !== 'archiving' &&
data.status !== 'restoring'
? handleDownload
: undefined
}
togglePlay={togglePlay}
onSeekDegree={seekToDegree}
onZoomChange={handleZoomChange}