Skip to content

Commit

Permalink
Fixed one more bug in DownloadDialogue.tsx.
Browse files Browse the repository at this point in the history
  • Loading branch information
ra-anders committed Jul 11, 2024
1 parent f2a94c1 commit 0fa3826
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ const DownloadDialogue = ({
const canvas: Canvas = getSelectedCanvas();
const id: string =
canvas.externalResource.data["@id"] || canvas.externalResource.data.id;
const regex = /([a-zA-Z0-9]+)_(\d+)/;
const regex = /([a-zA-Z0-9]+)_([a-zA-Z0-9]+)/;
console.log(regex);
const match = id.match(regex);
if (match) {
Expand Down

0 comments on commit 0fa3826

Please sign in to comment.