refactor: rebrand project to HartOMat
This commit is contained in:
@@ -47,7 +47,7 @@ export default function OutputTypeTable() {
|
||||
queryKey: ['materials'],
|
||||
queryFn: listMaterials,
|
||||
})
|
||||
const libraryMaterials = (allMaterials ?? []).filter((m: Material) => m.schaeffler_code !== null).sort((a: Material, b: Material) => a.name.localeCompare(b.name))
|
||||
const libraryMaterials = (allMaterials ?? []).filter((m: Material) => m.hartomat_code !== null).sort((a: Material, b: Material) => a.name.localeCompare(b.name))
|
||||
|
||||
const { data: workflows } = useQuery({
|
||||
queryKey: ['workflows'],
|
||||
@@ -856,7 +856,7 @@ export default function OutputTypeTable() {
|
||||
<td className="px-4 py-2">
|
||||
{ot.material_override ? (
|
||||
<span className="text-xs px-1.5 py-0.5 rounded bg-amber-50 text-amber-700 font-mono truncate block max-w-[140px]" title={ot.material_override}>
|
||||
{ot.material_override.replace('SCHAEFFLER_', '').replace(/_/g, ' ')}
|
||||
{ot.material_override.replace('HARTOMAT_', '').replace(/_/g, ' ')}
|
||||
</span>
|
||||
) : (
|
||||
<span className="text-xs text-content-muted">—</span>
|
||||
|
||||
Reference in New Issue
Block a user