mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 11:38:12 +01:00
change key to ref (#19465)
This commit is contained in:
@@ -45,11 +45,11 @@ export const AnomalyScanner = (props) => {
|
||||
|
||||
return (
|
||||
<Window width={400} height={325} theme={theme}>
|
||||
<Window.Content>
|
||||
<Window.Content scrollable>
|
||||
{anomaly_name ? (
|
||||
<Stack vertical fill>
|
||||
<Stack.Item grow>
|
||||
<Section title={capitalizeAll(anomaly_name)} fill scrollable>
|
||||
<Section title={capitalizeAll(anomaly_name)} fill>
|
||||
<LabeledList>
|
||||
<LabeledList.Item label="Current severity">
|
||||
{severity}%
|
||||
@@ -70,7 +70,7 @@ export const AnomalyScanner = (props) => {
|
||||
</Section>
|
||||
</Stack.Item>
|
||||
<Stack.Item grow>
|
||||
<Section title="Particle Reaction Analysis" fill scrollable>
|
||||
<Section title="Particle Reaction Analysis" fill>
|
||||
<LabeledList>
|
||||
<LabeledList.Item label="Danger Type" color="red">
|
||||
{danger_type}
|
||||
|
||||
@@ -180,11 +180,8 @@ export const Gps = (props) => {
|
||||
<Table.Cell collapsing>Coordinates</Table.Cell>
|
||||
</Table.Row>
|
||||
{signals.length ? (
|
||||
signals.filter(searchName).map((signal, index) => (
|
||||
<Table.Row
|
||||
key={signal.gpsTag + signal.coords + index}
|
||||
className="candystripe"
|
||||
>
|
||||
signals.filter(searchName).map((signal) => (
|
||||
<Table.Row key={signal.ref} className="candystripe">
|
||||
<Table.Cell bold color="label">
|
||||
{signal.gpsTag}
|
||||
</Table.Cell>
|
||||
|
||||
Reference in New Issue
Block a user