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) {
for (const [key, value] of Object.entries(params)) {
if (typeof value === 'object' && value !== null) {
sanitizer(value);
} else if (typeof value === 'string') {
params[key] = value.replaceAll('%', '');
if (value && typeof value === 'object') {
const param = Object.values(value)[0];
if (typeof param == 'string') params[key] = param.replaceAll('%', '');
}
}
return params;

View File

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