Aggiungere una campanellina in ogni pagina, dove poter aprire la configurazione delle notifiche
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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=""
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user