JS error caused by toolbar library when toolbar is not present
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3515628. -->
Reported by: [seanpb](https://www.drupal.org/user/3350292)
Related to !25
>>>
<p>The issue reported and fixed in the parent issue (#3497060) was "unfixed" by this commit: <a href="https://git.drupalcode.org/project/navigation_extra_tools/-/commit/2422a92f62c13bd7809c2f956fa0f64b4cbf7792">https://git.drupalcode.org/project/navigation_extra_tools/-/commit/2422a92f62c13bd7809c2f956fa0f64b4cbf7792</a></p>
<p>The 'access navigation' permission check should probably be readded to the pageAttachements method in NavigationExtraToolsHooks.php.</p>
> Related issue: [Issue #3497060](https://www.drupal.org/node/3497060)
issue