fix(webui): disable DLP bucket overlay in safe-mode to stop recursion
This commit is contained in:
@@ -1808,6 +1808,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function applyPatch() {
|
function applyPatch() {
|
||||||
|
const isDlpBucketRoute = isDlpSignalBucketRoute();
|
||||||
enforceSafeActivityViewForPveHost();
|
enforceSafeActivityViewForPveHost();
|
||||||
ensureSettingsHost();
|
ensureSettingsHost();
|
||||||
ensureHostGroupsData().catch(function () {});
|
ensureHostGroupsData().catch(function () {});
|
||||||
@@ -1821,7 +1822,10 @@
|
|||||||
patchCategoryBuilderHostLabel(document.body);
|
patchCategoryBuilderHostLabel(document.body);
|
||||||
injectPveAuditCenter(document.body);
|
injectPveAuditCenter(document.body);
|
||||||
injectDlpNavigation(document.body);
|
injectDlpNavigation(document.body);
|
||||||
injectDlpReviewCenter(document.body);
|
// Temporary safe-mode: disable heavy DLP overlay on bucket route due recursion in browser.
|
||||||
|
if (!isDlpBucketRoute) {
|
||||||
|
injectDlpReviewCenter(document.body);
|
||||||
|
}
|
||||||
injectDlpAlertsCenter(document.body);
|
injectDlpAlertsCenter(document.body);
|
||||||
injectHostGroupsCenter(document.body).catch(function () {});
|
injectHostGroupsCenter(document.body).catch(function () {});
|
||||||
redirectBareTrendsRoute();
|
redirectBareTrendsRoute();
|
||||||
|
|||||||
Reference in New Issue
Block a user