diff --git a/src/components/LeftMenu.vue b/src/components/LeftMenu.vue index a9604eb45..442687b2d 100644 --- a/src/components/LeftMenu.vue +++ b/src/components/LeftMenu.vue @@ -55,10 +55,6 @@ function addChildren(module, route, parent) { } } -const pinnedItems = computed(() => { - return items.value.filter((item) => item.isPinned); -}); - const items = ref([]); function getRoutes() { if (props.source === 'main') { @@ -111,52 +107,72 @@ async function togglePinned(item, event) { message: t('globals.dataSaved'), type: 'positive', }); -} +}; +function firstLower(str) { + return str[0].toLowerCase() + str.slice(1); +};