tethys.backend/resources/js/Components/AsideMenuList.vue
Arno Kaimbacher b6fdfbff41 - addes @adonisjs/redis fo saving session into redis with redis.ts contract and config
- npm updated
- added createHashValues and dlete inside File.ts
- added dataset_count property inside Subject.ts
- corrected rotes.ts with correct permissions
2023-11-27 17:17:22 +01:00

30 lines
613 B
Vue

<script setup lang="ts">
import AsideMenuItem from '@/Components/AsideMenuItem.vue';
defineProps({
isDropdownList: Boolean,
menu: {
type: Object,
default: () => {},
},
});
const emit = defineEmits(['menu-click']);
const menuClick = (event, item) => {
emit('menu-click', event, item);
};
</script>
<template>
<ul>
<AsideMenuItem
v-for="(menuItem, index) in menu"
:key="index"
v-bind:item="menuItem"
:is-dropdown-list="menuItem.children?.length > 0"
@menu-click="menuClick"
/>
</ul>
</template>