correct limit values, change limit column ordering
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
|
||||
const constraints = {
|
||||
pattern: { visibility: 5, wind: 25, ceiling: 2000, crosswind: 15 },
|
||||
dual: { visibility: 5, wind: 25, ceiling: 3000, crosswind: 15 },
|
||||
dual: { visibility: 1, wind: 35, ceiling: 500, crosswind: 17 },
|
||||
solo: { visibility: 5, wind: 25, ceiling: 3000, crosswind: 15 },
|
||||
};
|
||||
|
||||
@@ -64,14 +64,14 @@ const LimitsMatrix = ({ metar }) => {
|
||||
<>
|
||||
<HeaderRow
|
||||
columns="120px 120px 100px 100px 100px"
|
||||
labels={['', '', 'Pattern', 'Dual', 'Solo']}
|
||||
labels={['', '', 'Dual', 'Pattern', 'Solo']}
|
||||
/>
|
||||
{conditions.map(({ label, value, pattern, dual, solo }) => (
|
||||
<Row key={label} columns="120px 120px 100px 100px 100px">
|
||||
<LabelCell>{label}</LabelCell>
|
||||
<ValueCell>{value}</ValueCell>
|
||||
{pattern ? <CheckIcon /> : <CrossIcon />}
|
||||
{dual ? <CheckIcon /> : <CrossIcon />}
|
||||
{pattern ? <CheckIcon /> : <CrossIcon />}
|
||||
{solo ? <CheckIcon /> : <CrossIcon />}
|
||||
</Row>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user