eservices-core 1.1.4 → 1.1.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.
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* eservices-core v1.1.
|
|
2
|
+
* eservices-core v1.1.5
|
|
3
3
|
* (c) 2023 ESERVICES
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -4024,6 +4024,10 @@ let store = {};
|
|
|
4024
4024
|
* либо новую функцию от этой метки.
|
|
4025
4025
|
* */
|
|
4026
4026
|
function t(label) {
|
|
4027
|
+
if (typeof label !== 'string') {
|
|
4028
|
+
console.log(`Label is not provided for translation: ${label}`);
|
|
4029
|
+
return "undefined";
|
|
4030
|
+
}
|
|
4027
4031
|
// @ts-ignore
|
|
4028
4032
|
const value = jenesiusVueForm.utils.getPropFromObject((this === null || this === void 0 ? void 0 : this.vocabulary) || store, label);
|
|
4029
4033
|
if (typeof value === 'string')
|