breadcrumbs: cerrar modal cuando se clickea en link
This commit is contained in:
parent
dc773b14ff
commit
e2fbfa3a8e
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
href={inject(routes.Page, { worldId, pageId: crumb })}
|
href={inject(routes.Page, { worldId, pageId: crumb })}
|
||||||
|
on:click={() => ((breadcrumbsModalOpen = false), true)}
|
||||||
class="flex items-center text-ellipsis whitespace-nowrap p-4"
|
class="flex items-center text-ellipsis whitespace-nowrap p-4"
|
||||||
class:active-breadcrumb={crumb === pageId}
|
class:active-breadcrumb={crumb === pageId}
|
||||||
>{$crumbsTitles[index] || crumb}</a
|
>{$crumbsTitles[index] || crumb}</a
|
||||||
|
|
Loading…
Reference in a new issue