Skip to content

Commit

Permalink
Use double-negate instead of or-false in app launch too
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcorvidae committed Sep 27, 2024
1 parent 18266a8 commit 78b00ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/apps/launch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Launch = ({
);

const preferences = bootstrapInfo?.preferences;
const notify = preferences?.enableAnalysisEmailNotification || false;
const notify = !!preferences?.enableAnalysisEmailNotification;
const notifyPeriodic = !!preferences?.enablePeriodicEmailNotification;
const periodicPeriod = preferences?.periodicNotificationPeriod || 14400;

Expand Down

0 comments on commit 78b00ad

Please sign in to comment.