procon aggregate

This commit is contained in:
marco committed 2026-10-22 07:57:57 +02:00
1 parent 3bea468d23
commit 734aa81710
16 files changed
+656 -12

No files matched your search

+7 -2
View File
@@ -93,8 +93,10 @@ export function ComponentForm({ component, componentTypes, componentDefaults, on
<div className="mt-6">
<div className="font-bold">Eigenschaften</div>
{compnentData.properties &&
Object.entries(compnentData.properties).map(([key, value]) => (
{Object.entries({
...(compnentData.type === "Antrieb" ? { slave: false } : {}),
...compnentData.properties,
}).map(([key, value]) => (
<PropertyField
key={key}
@@ -104,6 +106,9 @@ export function ComponentForm({ component, componentTypes, componentDefaults, on
setPropValue={(name, value) => changePropertie(name, value)}
/>
))}
{compnentData.type === "Antrieb" && <p className="mt-2 text-xs text-gray-600">
Slave: Der Motor wird nicht separat angesteuert, sondern läuft parallel zu einem anderen Motor mit.
</p>}
</div>
<div className="flex gap-4">