|
|
@ -13,10 +13,12 @@ |
|
|
|
:src="gc.theme.topper.logo" |
|
|
|
:width="gc.theme.topper.logoWidth + 'px'" |
|
|
|
:height="gc.theme.topper.logoHeight + 'px'" |
|
|
|
class="cursor-pointer" |
|
|
|
:style="{ |
|
|
|
'min-width': gc.theme.topper.logoWidth + 'px', |
|
|
|
fill: 'red', |
|
|
|
}" |
|
|
|
@click="goHome" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- application name--> |
|
|
@ -242,6 +244,7 @@ |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import { ref, computed } from 'vue'; |
|
|
|
import { useRouter } from 'vue-router'; |
|
|
|
import { useQuasar, useInterval } from 'quasar'; |
|
|
|
import { useI18n } from 'vue-i18n'; |
|
|
|
|
|
|
@ -272,6 +275,8 @@ const unReadedNotificationsTotalCountRef = ref(); |
|
|
|
const unReadedAnnouncementsRef = ref([]); |
|
|
|
const unReadedAnnouncementsTotalCountRef = ref(); |
|
|
|
|
|
|
|
const router = useRouter(); |
|
|
|
|
|
|
|
const fullScreen = () => { |
|
|
|
if (quasar.fullscreen.isActive) { |
|
|
|
quasar.fullscreen.exit(); |
|
|
@ -288,6 +293,10 @@ const messagesCount = computed(() => { |
|
|
|
); |
|
|
|
}); |
|
|
|
|
|
|
|
const goHome = () => { |
|
|
|
router.push({ name: '/' }); |
|
|
|
}; |
|
|
|
|
|
|
|
const about = () => { |
|
|
|
aboutDialog.value.open(); |
|
|
|
}; |
|
|
|