mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-11-13 17:08:20 +00:00
feat: add select format to download button
This commit is contained in:
@@ -15,7 +15,6 @@ export type SchemaPreviewModelInput = {
|
||||
export type SchemaPreviewModel = {
|
||||
sourceValue: string;
|
||||
resultValue: string;
|
||||
formatValue: string;
|
||||
hasResult: boolean;
|
||||
};
|
||||
|
||||
@@ -49,7 +48,6 @@ export function buildSchemaPreviewModel(
|
||||
return {
|
||||
sourceValue,
|
||||
resultValue,
|
||||
formatValue: resultKind === "files" ? "ZIP (PNG)" : "PNG",
|
||||
hasResult:
|
||||
resultKind === "image"
|
||||
? Boolean(result)
|
||||
|
||||
Reference in New Issue
Block a user