Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(plugin-multi-tenant): selected tenant could become incorrect when navigating out of doc #10723

Merged
merged 5 commits into from
Jan 22, 2025

Conversation

JarrodMFlesch
Copy link
Contributor

What?

When switching tenants from within a document and then navigating back out to the list view, the tenant would not be set correctly.

Why?

This was because we handle the tenant selector selection differently when viewing a document.

How?

Now when you navigate out, the page will refresh the cookie.

Also adds test suite config that shows how the dom can be used to manipulate styles per tenant.

@JarrodMFlesch JarrodMFlesch merged commit e6d0260 into main Jan 22, 2025
59 of 67 checks passed
@JarrodMFlesch JarrodMFlesch deleted the fix/multi-tenant/refresh-tenant branch January 22, 2025 16:37
Copy link
Contributor

🚀 This is included in version v3.19.0

kendelljoseph pushed a commit that referenced this pull request Feb 21, 2025
… navigating out of doc (#10723)

### What?
When switching tenants from within a document and then navigating back
out to the list view, the tenant would not be set correctly.

### Why?
This was because we handle the tenant selector selection differently
when viewing a document.

### How?
Now when you navigate out, the page will refresh the cookie.

Also adds test suite config that shows how the dom can be used to
manipulate styles per tenant.
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant