@kwiz/common 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -725,10 +725,10 @@ export async function isSharePointOnline() {
|
|
|
725
725
|
return _spPageContextInfo.isSPO === true;
|
|
726
726
|
}
|
|
727
727
|
|
|
728
|
-
return
|
|
728
|
+
return false;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
-
export
|
|
731
|
+
export function isSharePointOnlineSync() {
|
|
732
732
|
let url = new URL(window.location.href);
|
|
733
733
|
//Most cases are satisfied by this check. Very few customers have custom domains for SharePoint online.
|
|
734
734
|
if (url.host.toLowerCase().endsWith(".sharepoint.com")) {
|
|
@@ -739,5 +739,5 @@ export async function isSharePointOnlineSync() {
|
|
|
739
739
|
return _spPageContextInfo.isSPO === true;
|
|
740
740
|
}
|
|
741
741
|
|
|
742
|
-
return
|
|
742
|
+
return false;
|
|
743
743
|
}
|