File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ planned for 2026-01-01
2929- [ tests] migrate from ` jest ` to ` vitest ` (#3940 , #3941 )
3030- [ ci] Add concurrency to automated tests workflow to cancel outdated runs (#3943 )
3131- [ tests] replace ` node-libgpiod ` with ` serialport ` in electron-rebuild workflow (#3945 )
32+ - [ calendar] hide repeatingCountTitle if the event count is zero (#3949 )
3233
3334### Fixed
3435
Original file line number Diff line number Diff line change @@ -330,7 +330,9 @@ Module.register("calendar", {
330330 const thisYear = eventStartDateMoment . year ( ) ,
331331 yearDiff = thisYear - event . firstYear ;
332332
333- repeatingCountTitle = `, ${ yearDiff } ${ repeatingCountTitle } ` ;
333+ if ( yearDiff > 0 ) {
334+ repeatingCountTitle = `, ${ yearDiff } ${ repeatingCountTitle } ` ;
335+ }
334336 }
335337 }
336338
You can’t perform that action at this time.
0 commit comments