diff --git a/src/dialog/asset-details/index.tsx b/src/dialog/asset-details/index.tsx index 6e993b6..f724af8 100644 --- a/src/dialog/asset-details/index.tsx +++ b/src/dialog/asset-details/index.tsx @@ -481,14 +481,14 @@ export default function AssetDetailsDialog({ {isDetailLoading ?
: null} {(() => { if (asset == null) return null; - if (asset.type === 1 || (asset.type === 4)) { + if (asset.type === 1 || (asset.type === 4 && asset.taskInfo?.type === 1)) { return (
); } - if (asset.type === 2) { + if (asset.type === 2 || (asset.type === 4 && asset.taskInfo?.type === 2)) { return (