Skip to content

Commit

Permalink
fix(export-advanced): compute filename on runtime (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffladiray authored Dec 17, 2024
1 parent 839a4f3 commit 44082e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-export-advanced/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function getForm(
form.push({
label: 'Filename',
type: 'String',
defaultValue: `${collection.name} - ${new Date().toISOString().substring(0, 10)}`,
defaultValue: () => `${collection.name} - ${new Date().toISOString().substring(0, 10)}`,
});
}

Expand Down

0 comments on commit 44082e8

Please sign in to comment.