1
0
forked from test/crm
jcrm/frontend/src/App.vue
Shariq Ansari 50e5fae2b7 fix: initating Call at app level and showing minimized call on sidebar
Handled incoming call UI and outgoing call UI
2023-08-22 16:41:30 +05:30

15 lines
379 B
Vue

<template>
<router-view v-if="$route.name == 'Login'" />
<CallUI v-else-if="session().isLoggedIn">
<DesktopLayout>
<router-view />
</DesktopLayout>
</CallUI>
</template>
<script setup>
import DesktopLayout from '@/components/DesktopLayout.vue'
import { sessionStore as session } from '@/stores/session'
import CallUI from './components/CallUI.vue'
</script>