route name is getting modified twice

there is a weird issue in ember engines that resets the route path which can
cause a double render error to be thrown by ember. Easiest fix is to unbind the
param and since this is only dynamic because we're building the list of links
from an array there is no reason for it to be bound.
This commit is contained in:
Westly Wright 2019-10-09 12:06:05 -07:00
parent 0222766237
commit 1d389ed5b8
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
{{#each filteredDrivers as |driver|}}
{{#if driver.available }}
{{#link-to
driver.route
(unbound driver.route)
alt=driver.label
classNames="col span-2 nav-box-item driver"
href=false