- Lista iscritti: aggiunto le note e il flag "Da Contattare"
This commit is contained in:
@@ -165,6 +165,7 @@ export default defineComponent({
|
||||
'profile.mygroups': 1,
|
||||
'profile.qualifica': 1,
|
||||
'profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
'profile.resid_province': 1,
|
||||
'mycities.reg': 1,
|
||||
}
|
||||
|
||||
@@ -967,6 +967,8 @@ export default defineComponent({
|
||||
filtercustom.push({ 'profile.teleg_id_old': { $gt: 1 } });
|
||||
} else if (myitemsingle === shared_consts.FILTER_NOTE) {
|
||||
filtercustom.push({ 'profile.note': { $exists: true, $ne: '' } });
|
||||
} else if (myitemsingle === shared_consts.FILTER_DA_CONTATTARE) {
|
||||
filtercustom.push({ 'profile.da_contattare': { $exists: true, $ne: false } });
|
||||
} else if (myitemsingle === shared_consts.FILTER_SENZA_NOTE) {
|
||||
filtercustom.push({
|
||||
$or: [
|
||||
|
||||
@@ -39,7 +39,8 @@
|
||||
<q-item-label v-if="contact.profile" caption lines="3"
|
||||
>
|
||||
<em>{{ contact.profile.qualifica }}</em>
|
||||
<span v-if="contact.profile.note"><span v-if="contact.profile.qualifica"><br></span><em style="color: blue;">Note: {{ contact.profile.note }}</em></span>
|
||||
<span v-if="tools.isFacil() && contact.profile.note"><span v-if="contact.profile.qualifica"><br></span><em style="color: blue;">Note: {{ contact.profile.note }}</em></span>
|
||||
<span v-if="tools.isFacil() && contact.profile.da_contattare"><br><em style="color: red;">Da Contattare</em></span>
|
||||
</q-item-label
|
||||
>
|
||||
<q-item-label caption lines="1"></q-item-label>
|
||||
|
||||
@@ -37,7 +37,6 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function UpdateDbNote() {
|
||||
const calendarStore = useCalendarStore()
|
||||
const globalStore = useGlobalStore()
|
||||
const { t } = useI18n()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user