modules updates
This commit is contained in:
@@ -65,10 +65,12 @@ const ModifierRow: Component<ModifierRowProps> = (props) => {
|
||||
value={props.modifier.value}
|
||||
onUpdate={(val) => props.onUpdate(props.modifier.id, { value: val })}
|
||||
class="w-20 text-right text-sm border-b border-dashed border-border focus:border-primary outline-none bg-transparent text-primary font-medium"
|
||||
placeholder="0.00"
|
||||
placeholder={props.modifier.moduleId === 'man-hours' ? "Factor" : "0.00"}
|
||||
/>
|
||||
<Show when={props.modifier.valueType === 'unit' && props.modifier.unitLabel}>
|
||||
<span class="text-[10px] font-bold text-primary/60">{props.modifier.unitLabel}</span>
|
||||
<Show when={(props.modifier.valueType === 'unit' && props.modifier.unitLabel) || props.modifier.moduleId === 'man-hours'}>
|
||||
<span class="text-[10px] font-bold text-primary/60">
|
||||
{props.modifier.moduleId === 'man-hours' ? 'factor' : props.modifier.unitLabel}
|
||||
</span>
|
||||
</Show>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user