@adminforth/i18n 1.3.5 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -343,7 +343,7 @@ export default class I18nPlugin extends AdminForthPlugin {
|
|
|
343
343
|
if (fullyTranslatedFilter) {
|
|
344
344
|
// remove it from filters because it is virtual field
|
|
345
345
|
query.filters = query.filters.filter((f) => f.field !== 'fully_translated');
|
|
346
|
-
if (fullyTranslatedFilter.value
|
|
346
|
+
if (fullyTranslatedFilter.value) {
|
|
347
347
|
query.filters.push({
|
|
348
348
|
field: this.options.completedFieldName,
|
|
349
349
|
value: this.fullCompleatedFieldValue,
|
package/index.ts
CHANGED
|
@@ -391,7 +391,7 @@ export default class I18nPlugin extends AdminForthPlugin {
|
|
|
391
391
|
if (fullyTranslatedFilter) {
|
|
392
392
|
// remove it from filters because it is virtual field
|
|
393
393
|
query.filters = query.filters.filter((f: any) => f.field !== 'fully_translated');
|
|
394
|
-
if (fullyTranslatedFilter.value
|
|
394
|
+
if (fullyTranslatedFilter.value) {
|
|
395
395
|
query.filters.push({
|
|
396
396
|
field: this.options.completedFieldName,
|
|
397
397
|
value: this.fullCompleatedFieldValue,
|