0
0
Fork 0

fix: refs #7353 rollback

This commit is contained in:
Jorge Penadés 2024-09-17 12:57:43 +02:00
parent 2cb2ce16ef
commit ed4a4e1e59
1 changed files with 1 additions and 12 deletions

View File

@ -200,11 +200,6 @@ function sanitizer(params) {
}
return params;
}
function getLocale(label) {
const globalLocale = `globals.params.${label}`;
return te(globalLocale) ? t(globalLocale) : t(`params.${label}`);
}
</script>
<template>
@ -253,12 +248,7 @@ function getLocale(label) {
:removable="!unremovableParams?.includes(chip.label)"
@remove="remove(chip.label)"
>
<slot
name="tags"
:tag="chip"
:format-fn="formatValue"
:locale-fn="getLocale"
>
<slot name="tags" :tag="chip" :format-fn="formatValue">
<div class="q-gutter-x-xs">
<strong>{{ chip.label }}:</strong>
<span>"{{ formatValue(chip.value) }}"</span>
@ -272,7 +262,6 @@ function getLocale(label) {
:tags="customTags"
:format-fn="formatValue"
:search-fn="search"
:locale-fn="getLocale"
/>
</div>
</QItem>