Skip to content

Commit

Permalink
Update ubc_claro_style_tweaks.module
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Feb 22, 2021
1 parent c7303bf commit 098f823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubc_claro_style_tweaks.module
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Implements hook_page_attachments().
*/
function ubc_claro_style_tweaks_page_attachments(array &$attachments) {
if (!\Drupal::currentUser()
if (\Drupal::currentUser()
->hasPermission('access content overview')) {
$attachments['#attached']['library'][] = 'ubc_claro_style_tweaks/clarotweaks';
}
Expand Down

0 comments on commit 098f823

Please sign in to comment.