@adminforth/i18n 1.3.4 → 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.
@@ -15,8 +15,6 @@ steps:
15
15
  from_secret: VAULT_TOKEN
16
16
  commands:
17
17
  - infisical export --domain https://vault.devforth.io/api --format=dotenv-export --env="prod" > /woodpecker/deploy.vault.env
18
- secrets:
19
- - VAULT_TOKEN
20
18
 
21
19
  release:
22
20
  image: node:20
package/build.log CHANGED
@@ -17,5 +17,5 @@ custom/package-lock.json
17
17
  custom/package.json
18
18
  custom/tsconfig.json
19
19
 
20
- sent 32,174 bytes received 248 bytes 64,844.00 bytes/sec
20
+ sent 32,187 bytes received 248 bytes 64,870.00 bytes/sec
21
21
  total size is 31,254 speedup is 0.96
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[0]) {
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[0]) {
394
+ if (fullyTranslatedFilter.value) {
395
395
  query.filters.push({
396
396
  field: this.options.completedFieldName,
397
397
  value: this.fullCompleatedFieldValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",