We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
label
1 parent d3687ee commit 872722dCopy full SHA for 872722d
resources/js/components/MainNav.vue
@@ -1,12 +1,11 @@
1
<script setup lang="ts">
2
import useCraftData from '@/composables/useCraftData';
3
- import VarDump from '@/components/VarDump.vue';
4
5
const {nav} = useCraftData();
6
</script>
7
8
<template>
9
- <craft-nav-list label="Primary">
+ <craft-nav-list>
10
<craft-nav-item
11
v-for="item in nav"
12
:key="item.url"
resources/templates/_layouts/components/global-sidebar.twig
@@ -46,7 +46,7 @@
46
{% include '_layouts/components/system-info' %}
47
</div>
48
49
- <craft-nav-list class="global-sidebar__nav" label="{{ 'Primary' | t('app') }}">
+ <craft-nav-list class="global-sidebar__nav">
50
{% for item in craft.cp.nav() %}
51
{{ _self.action(item, false) }}
52
{% endfor %}
0 commit comments