forked from geolba/tethys.backend
Arno Kaimbacher
b6fdfbff41
- npm updated - added createHashValues and dlete inside File.ts - added dataset_count property inside Subject.ts - corrected rotes.ts with correct permissions
30 lines
613 B
Vue
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>
|