@hulkapps/app-manager-vue 2.3.4 → 2.3.5

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.
@@ -23055,9 +23055,7 @@ var script$R = {
23055
23055
  },
23056
23056
 
23057
23057
  created() {
23058
- if (Object.keys(this.translations).length > 0) {
23059
- Vue.prototype.$translations = this.translations;
23060
- }
23058
+ Vue.prototype.$translations = Object.keys(this.translations).length > 0 ? this.translations : {};
23061
23059
 
23062
23060
  if (this.base_url != null) {
23063
23061
  let config = {
@@ -23107,7 +23105,7 @@ var __vue_staticRenderFns__$P = [];
23107
23105
  const __vue_inject_styles__$R = undefined;
23108
23106
  /* scoped */
23109
23107
 
23110
- const __vue_scope_id__$R = "data-v-56382236";
23108
+ const __vue_scope_id__$R = "data-v-49ba32ba";
23111
23109
  /* module identifier */
23112
23110
 
23113
23111
  const __vue_module_identifier__$R = undefined;
@@ -23146,6 +23144,12 @@ var script$Q = {
23146
23144
  return this.staticContent['plans'];
23147
23145
  }
23148
23146
 
23147
+ },
23148
+ methods: {
23149
+ translateMe(message) {
23150
+ return this.$translations.hasOwnProperty(message) ? this.$translations[message] : message;
23151
+ }
23152
+
23149
23153
  },
23150
23154
 
23151
23155
  async mounted() {
@@ -23196,11 +23200,11 @@ var __vue_render__$O = function () {
23196
23200
  }
23197
23201
  }, [_c('div', {
23198
23202
  domProps: {
23199
- "innerHTML": _vm._s(staticContent.content)
23203
+ "innerHTML": _vm._s(_vm.translateMe(staticContent.content))
23200
23204
  }
23201
23205
  })]) : _c('div', {
23202
23206
  domProps: {
23203
- "innerHTML": _vm._s(staticContent.content)
23207
+ "innerHTML": _vm._s(_vm.translateMe(staticContent.content))
23204
23208
  }
23205
23209
  })], 1);
23206
23210
  }), 0) : _vm._e();
@@ -23212,7 +23216,7 @@ var __vue_staticRenderFns__$O = [];
23212
23216
  const __vue_inject_styles__$Q = undefined;
23213
23217
  /* scoped */
23214
23218
 
23215
- const __vue_scope_id__$Q = "data-v-ac88498c";
23219
+ const __vue_scope_id__$Q = "data-v-3cd406fa";
23216
23220
  /* module identifier */
23217
23221
 
23218
23222
  const __vue_module_identifier__$Q = undefined;
@@ -43251,9 +43255,7 @@ var script = {
43251
43255
  },
43252
43256
 
43253
43257
  created() {
43254
- if (Object.keys(this.translations).length > 0) {
43255
- Vue.prototype.$translations = this.translations;
43256
- }
43258
+ Vue.prototype.$translations = Object.keys(this.translations).length > 0 ? this.translations : {};
43257
43259
 
43258
43260
  if (this.base_url != null) {
43259
43261
  let config = {
@@ -43301,7 +43303,7 @@ var __vue_staticRenderFns__ = [];
43301
43303
  const __vue_inject_styles__ = undefined;
43302
43304
  /* scoped */
43303
43305
 
43304
- const __vue_scope_id__ = "data-v-cff370de";
43306
+ const __vue_scope_id__ = "data-v-269d58ce";
43305
43307
  /* module identifier */
43306
43308
 
43307
43309
  const __vue_module_identifier__ = undefined;