0
0
Fork 0

fix branch

This commit is contained in:
Carlos Satorres 2024-09-05 12:48:31 +02:00
parent 99b65c564c
commit d4da8fc69f
2 changed files with 4 additions and 5 deletions

View File

@ -204,10 +204,9 @@ function formatValue(value) {
function sanitizer(params) { function sanitizer(params) {
for (const [key, value] of Object.entries(params)) { for (const [key, value] of Object.entries(params)) {
if (typeof value === 'object' && value !== null) { if (value && typeof value === 'object') {
sanitizer(value); const param = Object.values(value)[0];
} else if (typeof value === 'string') { if (typeof param == 'string') params[key] = param.replaceAll('%', '');
params[key] = value.replaceAll('%', '');
} }
} }
return params; return params;

View File

@ -176,7 +176,7 @@ const ticketsColumns = ref([
<QTd> <QTd>
<QBtn class="no-uppercase link" flat dense> <QBtn class="no-uppercase link" flat dense>
{{ value }} {{ value }}
<CustomerDescriptorProxy :id="row.clientFk" /> <CustomerDescriptorProxy :id="row.id" />
</QBtn> </QBtn>
</QTd> </QTd>
</template> </template>