Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

shouldReload is ignored sometimes #335

Open
dzucconi opened this issue Jun 5, 2023 · 1 comment
Open

shouldReload is ignored sometimes #335

dzucconi opened this issue Jun 5, 2023 · 1 comment

Comments

@dzucconi
Copy link

dzucconi commented Jun 5, 2023

I'd like to manually control reload so that I can do some housekeeping after preferences are saved. However sometimes this argument is just ignored.

if (
prevState.havePreferencesChanged ||
newDestinations.length > 0 ||
typeof newPreferences === 'boolean'
) {
shouldReload = true
}

@dzucconi dzucconi changed the title shouldReload is ignored sometimes. shouldReload is ignored sometimes Jun 5, 2023
@edsonjab
Copy link
Contributor

edsonjab commented Jun 5, 2023

Hi @dzucconi could you help us to explain:
what framework and what version are you using?
What version of Consent-manager?

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

No branches or pull requests

2 participants