Fix dissapearing steps

This commit is contained in:
Connor Yoh 2025-08-18 15:24:51 +01:00
parent c7a9762412
commit 8099a82e93

View File

@ -106,6 +106,7 @@ const AddWatermark = ({ onPreviewFile, onComplete, onError }: BaseToolProps) =>
), ),
}); });
if (hasFiles || hasResults) {
// Text watermark path // Text watermark path
if (watermarkParams.parameters.watermarkType === "text") { if (watermarkParams.parameters.watermarkType === "text") {
// Step 2: Wording // Step 2: Wording
@ -184,6 +185,7 @@ const AddWatermark = ({ onPreviewFile, onComplete, onError }: BaseToolProps) =>
), ),
}); });
} }
}
return steps; return steps;
}; };