mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 13:48:37 +00:00
Merge pull request #2554 from zpc7/bugfix/remove-duplicate-condition
This commit is contained in:
@@ -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('无');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user