@mythpe/quasar-ui-qui 0.1.27 → 0.1.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -102,7 +102,11 @@ export const useMyth = () => {
102
102
  const parents: string[] = routeName.split('.')
103
103
  if (parents.length > 1) {
104
104
  const e = `choice.${Str.pascalCase(lodash.pluralize(parents[parents.length - 2]))}`
105
- str = te(e) ? t(k, { name: t(e, '1') }) : null
105
+ if (te(e)) {
106
+ str = t(k, { name: t(e, '1') })
107
+ } else {
108
+ str = te(k) ? t(k, { name: '' }) : null
109
+ }
106
110
  } else {
107
111
  str = te(k) ? t(k, { name: '' }) : null
108
112
  }