<template>
    <div>
        <popup-menu 
            v-for="(item, index) in menu.getOptions"
            :key="'item-' + index"
            :item="item"
        />
    </div>
</template>

<script>
    export default {
        props: {
            app: {required: true},
        },

        computed: {
            menu() {
                return this.app.menus.Headerleft;
            }
        },

        components: {
            PopupMenu: require('@CsVueComp/menus/popupmenu/PopupMenu').default,
        },

        name: 'HeaderLeftMenu',
    }
</script>