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/views/user/sessions/SessionsCurrent.vue

28 lines
827 B

<template>
<StickyCourses />
<SessionTabs class="mb-4" />
<SessionsLoading :is-loading="isLoading" />
<!-- All sessions -->
<!-- <SessionListWrapper :sessions="sessionList"/>-->
<SessionCategoryView
v-if="!isLoading"
:result-sessions="sessions"
/>
</template>
<script setup>
import { computed } from "vue"
import { useStore } from "vuex"
import SessionTabs from "../../../components/session/SessionTabs.vue"
import StickyCourses from "../../../views/user/courses/StickyCourses.vue"
import SessionCategoryView from "../../../components/session/SessionCategoryView"
import { useSession } from "./session"
import SessionsLoading from "./SessionsLoading.vue"
const store = useStore()
let user = computed(() => store.getters["security/getUser"])
const { sessions, isLoading } = useSession(user)
</script>