@trackunit/translations-machine-type 0.0.23 → 0.0.24

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/index.cjs.js CHANGED
@@ -1051,6 +1051,9 @@ const useMachineInsightsTranslations = () => {
1051
1051
  return t("pages.machines.insights.sections.insights.insightNames.unknown");
1052
1052
  }
1053
1053
  default:
1054
+ if (subtype) {
1055
+ return subtype;
1056
+ }
1054
1057
  return t("pages.machines.insights.sections.insights.insightNames.unknown");
1055
1058
  }
1056
1059
  };
package/index.esm.js CHANGED
@@ -1047,6 +1047,9 @@ const useMachineInsightsTranslations = () => {
1047
1047
  return t("pages.machines.insights.sections.insights.insightNames.unknown");
1048
1048
  }
1049
1049
  default:
1050
+ if (subtype) {
1051
+ return subtype;
1052
+ }
1050
1053
  return t("pages.machines.insights.sections.insights.insightNames.unknown");
1051
1054
  }
1052
1055
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/translations-machine-type",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {