fix: refs #7353 sales person filter and locale #724

Merged
jorgep merged 6 commits from 7353-hotfix-fixFilter into master 2024-09-18 07:19:46 +00:00
1 changed files with 1 additions and 12 deletions
Showing only changes of commit ed4a4e1e59 - Show all commits

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>