Skip to content
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

Cannot update array value once it is set #65

Open
TwunTee opened this issue Oct 17, 2018 · 3 comments
Open

Cannot update array value once it is set #65

TwunTee opened this issue Oct 17, 2018 · 3 comments

Comments

@TwunTee
Copy link

TwunTee commented Oct 17, 2018

I am able to set the array value for an array stored in local storage using the localstorage decorator. But i am not able to update the value once it is set, neither push or concat seem to work either.Tried using save method too still cant update the array, the value that is set at first remains permanently

@TwunTee
Copy link
Author

TwunTee commented Oct 17, 2018

I am able to update using SharedStorage and cookie storage though, only localstorage has that bug

@lonelywm
Copy link

+1

@DanielKucal
Copy link
Member

  1. Are you sure anything doesn't rewrite your data in local storage?
  2. Which web browser do you use?
  3. Please try it with session storage and let me know if it works for you.
  4. Can you please post your code (all usages of ngx-store decorators and config)?
  5. Can you enable debugging and try to locate the problem?

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

No branches or pull requests

3 participants