chore: fix issue of isOrgSite being false after google auth
This commit is contained in:
@@ -65,7 +65,6 @@
|
|||||||
|
|
||||||
if (!data.isOrgSite || !data.org) return;
|
if (!data.isOrgSite || !data.org) return;
|
||||||
|
|
||||||
if ($currentOrg.siteName !== data.org.siteName) {
|
|
||||||
$globalStore.orgSiteName = data.orgSiteName;
|
$globalStore.orgSiteName = data.orgSiteName;
|
||||||
$globalStore.isOrgSite = data.isOrgSite;
|
$globalStore.isOrgSite = data.isOrgSite;
|
||||||
|
|
||||||
@@ -74,7 +73,6 @@
|
|||||||
|
|
||||||
// Setup internal analytics
|
// Setup internal analytics
|
||||||
initOrgAnalytics(data.orgSiteName);
|
initOrgAnalytics(data.orgSiteName);
|
||||||
}
|
|
||||||
|
|
||||||
setTheme(data.org?.theme);
|
setTheme(data.org?.theme);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user