Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
fix(startup): convert congregation from string to number on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao authored and sws2apps-admin committed Feb 16, 2022
1 parent 2e85508 commit 53b9848
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/Startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,12 @@ const Startup = () => {
app_lang,
liveEventClass,
} = await dbGetAppSettings();

setCongNumber(cong_number);
setCongName(cong_name);
setClassCount(class_count);
setMeetingDay(meeting_day);
setCongID(cong_id || '');
setCongID(++cong_id || '');
setAppLang(app_lang || 'e');
setLiveClass(liveEventClass);

Expand Down

0 comments on commit 53b9848

Please sign in to comment.