FIX: uses simpler patternj for custom href on extra nav items (PR #8015)

THe main advantage of this solution is that it will be called on each rerendered whereas the other is not once href has been set.

Example API:

        name: "foo",
        displayName: "Foo",
        customHref: function(category, args) {
          const router = api.container.lookup("service:router");
          const queryParams = { bar: "1" };
          return router.urlFor(router.currentRouteName, category, {


1 Like

You’ve signed the CLA, jjaffeux. Thank you! This pull request is ready for review.

Cool, I say we try this out!