diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index fa647e4679cd..d26c57dc9930 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -157,7 +157,6 @@ public function getAngularModules() { $result = []; $result['crmMailing'] = include "$civicrm_root/ang/crmMailing.ang.php"; $result['crmMailingAB'] = include "$civicrm_root/ang/crmMailingAB.ang.php"; - $result['crmD3'] = include "$civicrm_root/ang/crmD3.ang.php"; return $result; } diff --git a/Civi/Angular/Manager.php b/Civi/Angular/Manager.php index d19c8c328ee5..5f64eed33653 100644 --- a/Civi/Angular/Manager.php +++ b/Civi/Angular/Manager.php @@ -123,6 +123,7 @@ public function getModules() { $angularModules['api4Explorer'] = include "$civicrm_root/ang/api4Explorer.ang.php"; $angularModules['api4'] = include "$civicrm_root/ang/api4.ang.php"; $angularModules['crmDashboard'] = include "$civicrm_root/ang/crmDashboard.ang.php"; + $angularModules['crmD3'] = include "$civicrm_root/ang/crmD3.ang.php"; foreach (\CRM_Core_Component::getEnabledComponents() as $component) { $angularModules = array_merge($angularModules, $component->getAngularModules()); diff --git a/ang/crmD3.ang.php b/ang/crmD3.ang.php index 0a737341ae81..c95c53fd106f 100644 --- a/ang/crmD3.ang.php +++ b/ang/crmD3.ang.php @@ -1,13 +1,9 @@ 'civicrm', + 'basePages' => [], 'js' => [ 'ang/crmD3.js', 'bower_components/d3/d3.min.js', diff --git a/ang/crmMailing.ang.php b/ang/crmMailing.ang.php index 79f906a16fac..1499250fc03b 100644 --- a/ang/crmMailing.ang.php +++ b/ang/crmMailing.ang.php @@ -1,7 +1,6 @@ 'civicrm', diff --git a/ang/crmMailingAB.ang.php b/ang/crmMailingAB.ang.php index 24adc8a3aa69..c1f82a5a4640 100644 --- a/ang/crmMailingAB.ang.php +++ b/ang/crmMailingAB.ang.php @@ -1,7 +1,6 @@ 'civicrm',