Skip to content

Conversation

demonslord
Copy link

Merge the default's settings with user's when array or object.

Example:

userSettings = { 
                    minutes: { 
                        manual: [8,18,28] 
                    }
                }

But user want preserve the default settings of minutes (e.g: interval).

Here we have the solution.

Best Regards.
Alexander

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant