remove duplicate condition in TaskLogsColumnDefs

This commit is contained in:
PCCCCCCC
2025-12-31 09:38:23 +08:00
committed by GitHub
parent 300459c8a8
commit 5da36c816c
@@ -370,7 +370,6 @@ export const getTaskLogsColumns = ({
record.action === TASK_ACTION_REMIX_GENERATE;
const isSuccess = record.status === 'SUCCESS';
const isUrl = typeof text === 'string' && /^https?:\/\//.test(text);
if (isSuccess && isVideoTask && isUrl) {
if (isSuccess && isVideoTask && isUrl) {
return (
<a
@@ -384,7 +383,6 @@ export const getTaskLogsColumns = ({
</a>
);
}
}
if (!text) {
return t('无');
}