Skip to content

Commit a652562

Browse files
author
Marcin Mazurek
committed
Fix logic
1 parent 6db9488 commit a652562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/renderer/app/utils/votingPDFGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const votingPDFGenerator = async ({
101101
const dialogPath = await showSaveDialogChannel.send(params);
102102
const filePath = dialogPath.filePath || '';
103103

104-
if (dialogPath.canceled || !!filePath) {
104+
if (dialogPath.canceled || !filePath) {
105105
return VotingPDFGeneratorResult.CancelledByUser;
106106
}
107107

0 commit comments

Comments
 (0)