Skip to content

Commit

Permalink
(feat) add a new button to automatically refresh the public calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
gnepud committed Jun 12, 2024
1 parent 0d0103e commit dfb5f22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Next release

- Fix a bug: unable to show gender wowan in member export
- Add a new feature: add a new button to automatically refresh the public calendar

## v6.3.26 2024 June 5

Expand Down
3 changes: 2 additions & 1 deletion app/frontend/src/javascript/controllers/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ Application.Controllers.controller('CalendarController', ['$scope', '$state', '$
$scope.autoRefresh = undefined;
stopRedirectPage = false;
} else {
$scope.autoRefresh = $interval(refreshCalendar, 10000);
// refresh calendar every 1 minute
$scope.autoRefresh = $interval(refreshCalendar, 60000);
stopRedirectPage = true;
}
};
Expand Down

0 comments on commit dfb5f22

Please sign in to comment.