@flowgram.ai/renderer 0.2.10 → 0.2.11
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/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -916,7 +916,7 @@ var FlowRendererRegistry = class {
|
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
918
|
getText(textKey) {
|
|
919
|
-
return import_i18n.I18n.t(textKey, {
|
|
919
|
+
return import_i18n.I18n.t(textKey, { defaultValue: "" }) || this.textMap.get(textKey);
|
|
920
920
|
}
|
|
921
921
|
/**
|
|
922
922
|
* TODO: support memo
|