Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/assets/vue/components/layout/Topbar.vue

15 lines
393 B

<template>
<TopbarNotLoggedIn v-if="!securityStore.isAuthenticated" />
<TopbarLoggedIn
v-else
:current-user="securityStore.user"
/>
</template>
<script setup>
import TopbarLoggedIn from "./TopbarLoggedIn.vue"
import TopbarNotLoggedIn from "./TopbarNotLoggedIn.vue"
import { useSecurityStore } from "../../store/securityStore"
const securityStore = useSecurityStore()
</script>