We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a65d77 commit 2965903Copy full SHA for 2965903
packages/web/src/initialize.ts
@@ -64,7 +64,8 @@ const initSingleTenancy = async () => {
64
}
65
66
// If we don't have the search context entitlement then wipe any existing
67
- // search contexts that may be present in the DB
+ // search contexts that may be present in the DB. This could happen if a deployment had
68
+ // the entitlement, synced search contexts, and then no longer had the entitlement
69
const hasSearchContextEntitlement = hasEntitlement("search-contexts")
70
if(!hasSearchContextEntitlement) {
71
clearSearchContexts(SINGLE_TENANT_ORG_DOMAIN)
0 commit comments