Skip to content

Commit

Permalink
Make sure forever choice is visible in stats after save
Browse files Browse the repository at this point in the history
  • Loading branch information
zozs committed Apr 23, 2023
1 parent 85ee013 commit 345ce87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {
emoji: true
},
options: intervals.map(optionStatsInterval),
...(initialStatsInterval && { initial_option: optionStatsInterval(initialStatsInterval) })
...(initialStatsInterval != null && { initial_option: optionStatsInterval(initialStatsInterval) })
}
}
blocks.push(statsIntervalBlock)
Expand Down

0 comments on commit 345ce87

Please sign in to comment.