Skip to content

Commit

Permalink
fix: allow more ID patterns
Browse files Browse the repository at this point in the history
fixes #56
  • Loading branch information
dvirtz committed Jan 17, 2025
1 parent 3bd3d1b commit 9217f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acum-work-import/ui/release-editor-ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function AcumImporter() {

return (
<>
<ImportForm entityTypes={['Album', 'Work', 'Version']} onSubmit={importWorks} idPattern="\d+">
<ImportForm entityTypes={['Album', 'Work', 'Version']} onSubmit={importWorks} idPattern="[12][0-9A-Z]+">
<Button id="acum-work-submit" class="worksubmit" disabled={submissionDisabled()} onclick={submitWorks}>
<span>Submit works</span>
</Button>
Expand Down

0 comments on commit 9217f42

Please sign in to comment.