Skip to content

Commit

Permalink
Merge pull request #328 from rimorin/master
Browse files Browse the repository at this point in the history
Master -> Staging
  • Loading branch information
rimorin authored Sep 19, 2024
2 parents d95edb2 + 501faf5 commit cc44ade
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.32.1](https://github.com/rimorin/ministry-mapper/compare/v1.32.0...v1.32.1) (2024-09-16)


### Bug Fixes

* typo in retrieving congregation expiry hours ([b52861c](https://github.com/rimorin/ministry-mapper/commit/b52861cb1c143eb369c156a406d79ac03a8eef27))

# [1.32.0](https://github.com/rimorin/ministry-mapper/compare/v1.31.3...v1.32.0) (2024-08-30)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ministry-mapper",
"version": "1.32.0",
"version": "1.32.1",
"private": true,
"type": "module",
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/pages/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,8 @@ function Admin({ user }: adminProps) {
}
const congregationDetails = snapshot.val();
const congName = congregationDetails["name"] as string;
const expireHours =
congregationDetails["expireHours"] || DEFAULT_SELF_DESTRUCT_HOURS;
const expiryHours =
congregationDetails["expiryHours"] || DEFAULT_SELF_DESTRUCT_HOURS;
const maxTries =
congregationDetails["maxTries"] || DEFAULT_CONGREGATION_MAX_TRIES;
const options = processOptions(
Expand All @@ -820,7 +820,7 @@ function Admin({ user }: adminProps) {

document.title = congName;
setName(congName);
setDefaultExpiryHours(expireHours);
setDefaultExpiryHours(expiryHours);
setOptions(options);
setPolicy(
new Policy(
Expand Down

0 comments on commit cc44ade

Please sign in to comment.