-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track user count #552
Track user count #552
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #552 +/- ##
========================================
Coverage 58.59% 58.59%
========================================
Files 75 75
Lines 1256 1256
Branches 151 151
========================================
Hits 736 736
Misses 492 492
Partials 28 28
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -14,7 +15,12 @@ function* loadAccountSettings(): Generator<PutEffect | Promise<Settings | null>, | |||
function* saveAccountSettings(action: {payload: ISettings}): Generator<PutEffect | Promise<void>> { | |||
yield database.settings.set(DEFAULT_ACCOUNT, action.payload); | |||
|
|||
if (action.payload.reporting !== undefined) yield put(setReporting(action.payload.reporting)); | |||
if (action.payload.reporting !== undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this prevent changing reporting from true to false or reverse?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ISettings
all params are optional and this cover a case if is reporting not provided
Short description of work done
PR Checklist
Changes
Example
Issues
Closes #540