forked from verdnatura/salix-front
fix branch
This commit is contained in:
parent
99b65c564c
commit
d4da8fc69f
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue