Update DrawerControl.tsx
This commit is contained in:
parent
7c7778a0e1
commit
4b130df801
|
|
@ -482,7 +482,9 @@ export const DrawerAPCControl: React.FC<DrawerProps> = ({
|
|||
}}
|
||||
>
|
||||
{findLineByOutlet(outlet)
|
||||
? "Line " + findLineByOutlet(outlet)?.lineNumber
|
||||
? "Line " +
|
||||
(findLineByOutlet(outlet)?.lineNumber ||
|
||||
findLineByOutlet(outlet)?.line_number)
|
||||
: outlet.name}
|
||||
</Text>
|
||||
</Card>
|
||||
|
|
@ -713,7 +715,9 @@ export const DrawerAPCControl: React.FC<DrawerProps> = ({
|
|||
}}
|
||||
>
|
||||
{findLineByOutlet(outlet)
|
||||
? "Line " + findLineByOutlet(outlet)?.lineNumber
|
||||
? "Line " +
|
||||
(findLineByOutlet(outlet)?.lineNumber ||
|
||||
findLineByOutlet(outlet)?.line_number)
|
||||
: outlet.name}
|
||||
</Text>
|
||||
</Card>
|
||||
|
|
|
|||
Loading…
Reference in New Issue