procon aggregate
This commit is contained in:
1 parent
3bea468d23
commit
734aa81710
16 files changed
+656
-12
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user