Skip to content

Commit

Permalink
Fix accessing todayRingColor from null yamlMonth
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrochlore committed Nov 13, 2021
1 parent de45672 commit 67fb02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2179,7 +2179,7 @@ export function getRenderInfoFromYaml(

// todayRingColor
month.todayRingColor = getStringFromInput(
yamlMonth.todayRingColor,
yamlMonth?.todayRingColor,
month.todayRingColor
);
// console.log(month.todayRingColor);
Expand Down

0 comments on commit 67fb02c

Please sign in to comment.