<template>
    <v-card
        tile
        flat
        outlined
        :height="height"
        class=""
    >
        <user-dashboard-tabs 
            :app="app"
            :user="user"
            :menu="tabs"
            :height="height - 2"
            :account="null"
        />
    </v-card>
</template>


<script>
    /**
     * user.permissions
     * user.role
     * user.my_settings
     * user.roles
     * user.customers 
     *      + la ce customeri sunt eu printre cei care au conturi: customers-persons
     *      + (Pe asa nu ma pot baza);
     * 
     * Utilizator platforma b2b
     * Are conturi si roluri la diferiti clienti
     * Are permisiuni
     */
    export default {
        props: {
            app: {required: true},
            user: {required: true},
            height: {default: null},
        },

        computed: {
            controller() {
                return this.app.classes.Userdashboard;
            },

            tabs() {
                return this.controller.tabs;
            }
        },


        name: 'UserDashboardItems',
    }
</script>