diff --git a/src/frontend/src/components/nav/SearchDrawer.tsx b/src/frontend/src/components/nav/SearchDrawer.tsx
index 13dd185fcf..157b9c64e1 100644
--- a/src/frontend/src/components/nav/SearchDrawer.tsx
+++ b/src/frontend/src/components/nav/SearchDrawer.tsx
@@ -71,7 +71,7 @@ function QueryResultGroup({
{model.label_multiple}
-
+
{' '}
- {query.results.count} results
diff --git a/src/frontend/src/components/settings/SettingList.tsx b/src/frontend/src/components/settings/SettingList.tsx
index 88e23b95c4..e06522b2af 100644
--- a/src/frontend/src/components/settings/SettingList.tsx
+++ b/src/frontend/src/components/settings/SettingList.tsx
@@ -51,7 +51,7 @@ export function SettingList({
onChange={onChange}
/>
) : (
-
+
Setting {key} not found
)}
@@ -59,7 +59,7 @@ export function SettingList({
);
})}
{(keys || allKeys).length === 0 && (
-
+
No settings specified
)}
diff --git a/src/frontend/src/pages/Index/Settings/AdminCenter/MachineManagementPanel.tsx b/src/frontend/src/pages/Index/Settings/AdminCenter/MachineManagementPanel.tsx
index b9a14e27f9..17888e6f28 100644
--- a/src/frontend/src/pages/Index/Settings/AdminCenter/MachineManagementPanel.tsx
+++ b/src/frontend/src/pages/Index/Settings/AdminCenter/MachineManagementPanel.tsx
@@ -58,7 +58,7 @@ export default function MachineManagementPanel() {
{registryStatus?.registry_errors &&
registryStatus.registry_errors.length === 0 ? (
-
+
There are no machine registry errors.
) : (
diff --git a/src/frontend/src/tables/bom/BomTable.tsx b/src/frontend/src/tables/bom/BomTable.tsx
index f430bcd37c..9da22cb0f6 100644
--- a/src/frontend/src/tables/bom/BomTable.tsx
+++ b/src/frontend/src/tables/bom/BomTable.tsx
@@ -149,7 +149,7 @@ export function BomTable({
let text =
available_stock <= 0 ? (
- {t`No stock`}
+ {t`No stock`}
) : (
available_stock
);
@@ -210,7 +210,9 @@ export function BomTable({
sortable: false, // TODO: Custom sorting via API
render: (record: any) => {
if (record.consumable) {
- return {t`Consumable item`};
+ return (
+ {t`Consumable item`}
+ );
}
let can_build = availableStockQuantity(record) / record.quantity;
diff --git a/src/frontend/src/tables/build/BuildLineTable.tsx b/src/frontend/src/tables/build/BuildLineTable.tsx
index 985562c291..2a78cec0b6 100644
--- a/src/frontend/src/tables/build/BuildLineTable.tsx
+++ b/src/frontend/src/tables/build/BuildLineTable.tsx
@@ -109,7 +109,10 @@ export default function BuildLineTable({ params = {} }: { params?: any }) {
available > 0 ? (
available
) : (
- {t`No stock available`}
+ {t`No stock available`}
)
}
title={t`Available Stock`}
@@ -176,7 +179,7 @@ export default function BuildLineTable({ params = {} }: { params?: any }) {
switchable: false,
render: (record: any) => {
return record?.bom_item_detail?.consumable ? (
- {t`Consumable item`}
+ {t`Consumable item`}
) : (
{!machineType && (
-
+
Machine type not found.
)}
@@ -192,7 +192,7 @@ function MachineDriverDrawer({
{!machineDriver && (
-
+
Machine driver not found.
)}
diff --git a/src/frontend/src/tables/part/PartParameterTable.tsx b/src/frontend/src/tables/part/PartParameterTable.tsx
index 80e37fbb20..794a381ec1 100644
--- a/src/frontend/src/tables/part/PartParameterTable.tsx
+++ b/src/frontend/src/tables/part/PartParameterTable.tsx
@@ -49,7 +49,11 @@ export function PartParameterTable({ partId }: { partId: any }) {
render: (record) => {
let variant = String(partId) != String(record.part);
- return {record.template_detail?.name};
+ return (
+
+ {record.template_detail?.name}
+
+ );
}
},
DescriptionColumn({
diff --git a/src/frontend/src/tables/plugin/PluginListTable.tsx b/src/frontend/src/tables/plugin/PluginListTable.tsx
index 449f57281e..562e63b195 100644
--- a/src/frontend/src/tables/plugin/PluginListTable.tsx
+++ b/src/frontend/src/tables/plugin/PluginListTable.tsx
@@ -306,7 +306,11 @@ export default function PluginListTable() {
if (record.active) {
return record.meta.description;
} else {
- return {t`Description not available`};
+ return (
+ {t`Description not available`}
+ );
}
}
},
@@ -351,7 +355,7 @@ export default function PluginListTable() {
: t`The following plugin will be deactivated`}
:
-
+
{plugin_name}