import products dinamically

This commit is contained in:
Surya Paolo
2024-02-06 20:13:06 +01:00
parent dbcd2aee63
commit 3c0f040d92
53 changed files with 1847 additions and 325 deletions

View File

@@ -626,6 +626,14 @@
></q-btn>
<br />
</div>
<div class="row">
<q-btn
label="removeRegulations"
color="primary"
@click="EseguiFunz('removeRegulations')"
></q-btn>
<br />
</div>
</template>
<script lang="ts" src="./dbop.ts">
</script>

View File

@@ -17,8 +17,8 @@
toggle-color="primary"
:options="[
{ value: shared_consts.PROD.TUTTI, slot: 'tutti' },
{ value: shared_consts.PROD.BOTTEGA, slot: 'bottega' },
{ value: shared_consts.PROD.GAS, slot: 'gas' },
{ value: shared_consts.PROD.BOTTEGA, slot: 'bottega' },
]"
>
<template v-slot:tutti>

View File

@@ -197,6 +197,7 @@ export default defineComponent({
{
$project: {
username: 1,
verified_by_aportador: 1,
name: 1,
surname: 1,
date_reg: 1,
@@ -272,6 +273,7 @@ export default defineComponent({
descr: 1,
photos: 1,
surname: 1,
verified_by_aportador: 1,
admins: 1,
idapp: 1,
'circuit.name': 1, 'circuit._id': 1