fix: breadcrumbs without viewcontrols should not show /
This commit is contained in:
parent
ff52cf33d1
commit
347c9deb7f
@ -2,11 +2,22 @@
|
|||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<router-link
|
<router-link
|
||||||
:to="{ name: routeName }"
|
:to="{ name: routeName }"
|
||||||
class="px-0.5 py-1 text-lg font-medium focus:outline-none focus-visible:ring-2 focus-visible:ring-outline-gray-3 text-ink-gray-5 hover:text-ink-gray-7"
|
class="px-0.5 py-1 text-lg font-medium focus:outline-none focus-visible:ring-2 focus-visible:ring-outline-gray-3"
|
||||||
|
:class="[
|
||||||
|
viewControls
|
||||||
|
? 'text-ink-gray-5 hover:text-ink-gray-7'
|
||||||
|
: 'text-ink-gray-7',
|
||||||
|
]"
|
||||||
>
|
>
|
||||||
{{ __(routeName) }}
|
{{ __(routeName) }}
|
||||||
</router-link>
|
</router-link>
|
||||||
<span class="mx-0.5 text-base text-ink-gray-4" aria-hidden="true"> / </span>
|
<span
|
||||||
|
v-if="viewControls"
|
||||||
|
class="mx-0.5 text-base text-ink-gray-4"
|
||||||
|
aria-hidden="true"
|
||||||
|
>
|
||||||
|
/
|
||||||
|
</span>
|
||||||
<Dropdown v-if="viewControls" :options="viewControls.viewsDropdownOptions">
|
<Dropdown v-if="viewControls" :options="viewControls.viewsDropdownOptions">
|
||||||
<template #default="{ open }">
|
<template #default="{ open }">
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user