Skip to content

Commit

Permalink
MWPW-136414: Add Support for PDF Copy (#57)
Browse files Browse the repository at this point in the history
MWPW-136414: PDF Copy
  • Loading branch information
sukamat authored Sep 19, 2023
1 parent f9c4c83 commit 58b171c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function getDocPathFromUrl(url) {
path = path.slice(0, -5);
return `${path}.xlsx`;
}
if (path.endsWith('.svg')) {
if (path.endsWith('.svg') || path.endsWith('.pdf')) {
return path;
}
if (path.endsWith('/')) {
Expand Down

0 comments on commit 58b171c

Please sign in to comment.