diff options
| author | Henry Jameson <me@hjkos.com> | 2022-08-31 00:58:03 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-08-31 00:58:03 +0300 |
| commit | 73abae1b3ec705b95d58e6f4e0f691e99f95d8ad (patch) | |
| tree | 060cfc5dfac50a465597f3c3b98facbc80da07eb | |
| parent | 98f97ff9a9806b2cb16f9b9f15df531be0f98919 (diff) | |
lint
| -rw-r--r-- | src/components/navigation/navigation_entry.vue | 6 | ||||
| -rw-r--r-- | src/components/optional_router_link/optional_router_link.vue | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/navigation/navigation_entry.vue b/src/components/navigation/navigation_entry.vue index b984b234..f4d53836 100644 --- a/src/components/navigation/navigation_entry.vue +++ b/src/components/navigation/navigation_entry.vue @@ -1,8 +1,8 @@ <template> <OptionalRouterLink + v-slot="{ isActive, href, navigate } = {}" ass="ass" :to="routeTo" - v-slot="{ isActive, href, navigate } = {}" > <li class="NavigationEntry menu-item" @@ -10,8 +10,8 @@ v-bind="$attrs" > <component - class="main-link button-unstyled" :is="routeTo ? 'a' : 'button'" + class="main-link button-unstyled" :href="href" @click="navigate" > @@ -29,7 +29,7 @@ >{{ item.iconLetter }} </span> <span class="label"> - {{ item.labelRaw || $t(item.label) }} + {{ item.labelRaw || $t(item.label) }} </span> </component> <slot /> diff --git a/src/components/optional_router_link/optional_router_link.vue b/src/components/optional_router_link/optional_router_link.vue index a9877dd5..d56ad268 100644 --- a/src/components/optional_router_link/optional_router_link.vue +++ b/src/components/optional_router_link/optional_router_link.vue @@ -1,10 +1,10 @@ <template> -<!-- eslint-disable vue/no-multiple-template-root --> + <!-- eslint-disable vue/no-multiple-template-root --> <router-link v-if="to" + v-slot="props" :to="to" custom - v-slot="props" > <slot v-bind="props" |
