novuhq / novu

Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
https://novu.co
Other
35.44k stars 3.92k forks source link

fix(web): Preserve last active organization across full page reloads #6978

Closed SokratisVidros closed 1 week ago

SokratisVidros commented 1 week ago

What changed? Why was the change needed?

It seems that calling the setActive method was causing a race condition with the Clerk state, always forcing the selection of the first organization on full page reload.

netlify[bot] commented 1 week ago

Deploy Preview for novu-stg-vite-dashboard-poc ready!

Name Link
Latest commit 24d5cd0ef35fe875e3104edfcf855a8024bd4242
Latest deploy log https://app.netlify.com/sites/novu-stg-vite-dashboard-poc/deploys/6733f15949a00a0008cd734f
Deploy Preview https://deploy-preview-6978--novu-stg-vite-dashboard-poc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.