Skip to content

Commit

Permalink
Merge pull request #29 from jacksonkasi1/dev
Browse files Browse the repository at this point in the history
🐛 Bug Fix & TS-Config Update
  • Loading branch information
jacksonkasi1 authored Oct 13, 2024
2 parents c74ec5b + 4bfd2a1 commit 932efe8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin/src/components/files-footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const FilesFooter = () => {

try {

if(AssetsExportType.SINGLE && nodeIdsToExport.length < 2) {
if( formatOption === FormatOption.PDF && AssetsExportType.SINGLE && nodeIdsToExport.length < 2) {
console.warn(formatWarningMessage('Please select at least two images to export.'));
notify.warn('Please select at least two images to export.');
return;
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const config = {
PINATA_GATEWAY: 'https://lime-casual-meerkat-982.mypinata.cloud',
PDF_LOGO: 'https://cdn.file0.dev/ihbyf1o3qp3rtpmhoik29mdq.png',
PDF_LOGO: 'https://lime-casual-meerkat-982.mypinata.cloud/files/bafkreihcpic2x3m5bbd5hpcxmba2hbxw2lzjugnqmbf6dtea2v6t5jnzli',
FILE_SERVER: 'https://jacksonkasi-imagepro-file-process.hf.space',
// FILE_SERVER: 'http://localhost:7860', // for testing
};
3 changes: 2 additions & 1 deletion plugin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"skipLibCheck": true,
"sourceMap": true
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"include": ["src/**/*.ts", "src/**/*.tsx", "typings/**/*.d.ts"],

"exclude": ["node_modules", "dist", "temp"]

}

0 comments on commit 932efe8

Please sign in to comment.