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()
mounted()
@@ -2148,6 +2152,7 @@ export default defineComponent({
myinfscroll,
t,
exportTable,
showNotification,
}
}
})

View File

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

View File

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