Sulla foto della notifica il click non funziona

check App
This commit is contained in:
Surya Paolo
2023-01-25 11:55:06 +01:00
parent 567f7b4be7
commit e58f7249a6
9 changed files with 25 additions and 10 deletions

View File

@@ -1,4 +1,9 @@
<template>
<div v-if="tools.isDebugOn()" class="bg-red text-white">
<span> isAppRunning: {{isAppRunning}} - </span>
<span> deferredPrompt: {{deferredPrompt}} - </span>
<span> finishLoading: {{finishLoading}} - </span>
</div>
<div v-if="finishLoading && !isAppRunning && deferredPrompt" class="row justify-center">
<q-btn
@@ -7,8 +12,8 @@
label="Installa App"
@click="installApp"
icon="fas fa-mobile-alt"
color="white"
text-color="green"
color="green"
text-color="white"
/>
</div>
<!--<div class="row justify-center">

View File

@@ -1,4 +1,4 @@
import { defineComponent, PropType, ref } from 'vue'
import { defineComponent, PropType, ref, computed } from 'vue'
import { useI18n } from '@src/boot/i18n'
import { useUserStore } from '@store/UserStore'
import { useGlobalStore } from '@store/globalStore'
@@ -6,6 +6,7 @@ import { useQuasar } from 'quasar'
import { validationMixin } from 'vuelidate'
import { Logo } from '../logo'
import { CCheckAppRunning } from '../CCheckAppRunning'
import { static_data } from '@/db/static_data'
import { tools } from '@store/Modules/tools'
import { ISigninOptions } from 'model'
@@ -16,7 +17,7 @@ import { useRouter } from 'vue-router'
export default defineComponent({
name: 'CSignIn',
components: { Logo },
components: { Logo, CCheckAppRunning },
props: {
showregbutt: {
type: Boolean,
@@ -31,6 +32,8 @@ export default defineComponent({
const $router = useRouter()
const globalStore = useGlobalStore()
const enablePwa = computed(() => globalStore.site.confpages.enablePwa)
const refUsername = ref(<any>null)
const refPassword = ref(null)
@@ -166,6 +169,7 @@ export default defineComponent({
site,
showPassword,
typePassword,
enablePwa,
}
},
})

View File

@@ -1,5 +1,6 @@
<template>
<div>
<div v-if="enablePwa"><CCheckAppRunning /></div>
<div class="text-center">
<p>
<logo></logo>