Skip to content

Commit

Permalink
COMCL-603: Correct visual bundle assets path
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Shahrukh committed Jul 18, 2024
1 parent 0a82f75 commit d919721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ang/civicase-base.ang.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function expose_settings(array &$options, array $defaults) {
function get_base_js_files() {
return array_merge(
[
'assetBuilder://visual-bundle.js',
Civi::service('asset_builder')->getUrl('visual-bundle.js'),
'ang/civicase-base.js',
],
GlobRecursive::getRelativeToExtension(
Expand Down
4 changes: 2 additions & 2 deletions ang/civicase.ang.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function get_js_files() {
[
// At the moment, it's safe to include this multiple times.
// deduped by resource manager.
'assetBuilder://visual-bundle.js',
Civi::service('asset_builder')->getUrl('visual-bundle.js'),
'ang/civicase.js',
],
GlobRecursive::getRelativeToExtension(
Expand Down Expand Up @@ -255,7 +255,7 @@ function set_contact_tasks(&$options) {
'css' => [
// At the moment, it's safe to include this multiple times.
// deduped by resource manager.
'assetBuilder://visual-bundle.css',
Civi::service('asset_builder')->getUrl('visual-bundle.css'),
'css/*.css',
],
'partials' => [
Expand Down

0 comments on commit d919721

Please sign in to comment.