Aggiungere una campanellina in ogni pagina, dove poter aprire la configurazione delle notifiche

This commit is contained in:
Surya Paolo
2022-12-03 01:58:15 +01:00
parent e11cf19149
commit 556d933638
3 changed files with 15 additions and 1 deletions

View File

@@ -2057,6 +2057,10 @@ export default defineComponent({
} }
} }
function showNotification() {
$router.push('/notifs')
}
created() created()
mounted() mounted()
@@ -2148,6 +2152,7 @@ export default defineComponent({
myinfscroll, myinfscroll,
t, t,
exportTable, exportTable,
showNotification,
} }
} }
}) })

View File

@@ -228,13 +228,21 @@
<template v-slot:prepend> <template v-slot:prepend>
<q-icon name="search" /> <q-icon name="search" />
</template> </template>
<template v-if="searchList && finder" v-slot:after> <template v-if="searchList && finder" v-slot:before>
<q-btn <q-btn
dense dense
color="positive" color="positive"
icon="fas fa-filter" icon="fas fa-filter"
@click="showfilter = !showfilter" @click="showfilter = !showfilter"
></q-btn> ></q-btn>
<q-btn
dense
color="orange"
icon="fas fa-bell"
@click="showNotification"
></q-btn>
</template>
<template v-if="searchList && finder" v-slot:after>
<q-btn <q-btn
dense dense
label="" label=""

View File

@@ -7,6 +7,7 @@
:key="index" :key="index"
expand-separator expand-separator
:icon="rec.icon" :icon="rec.icon"
default-opened
:label="t(rec.labeltrans)" :label="t(rec.labeltrans)"
> >
<q-card> <q-card>