5.0.2.3 条件漏れを追加
This commit is contained in:
@@ -206,7 +206,7 @@ export const EachTrainInfoCore = ({
|
||||
},
|
||||
navigate,
|
||||
originalStationList,
|
||||
from: "NearTrainDiagramView",
|
||||
from: from == "LED" ? "LED2" : "NearTrainDiagramView",
|
||||
};
|
||||
if (setTrainInfo) {
|
||||
setTrainInfo(payload.data);
|
||||
@@ -288,17 +288,23 @@ export const EachTrainInfoCore = ({
|
||||
},
|
||||
}}
|
||||
Max_Header_Height={
|
||||
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
|
||||
from == "AllTrainDiagramView" ||
|
||||
from == "NearTrainDiagramView" ||
|
||||
from == "LED2"
|
||||
? 0
|
||||
: 200
|
||||
}
|
||||
Min_Header_Height={
|
||||
from == "AllTrainDiagramView" || from == "NearTrainDiagramView"
|
||||
from == "AllTrainDiagramView" ||
|
||||
from == "NearTrainDiagramView" ||
|
||||
from == "LED2"
|
||||
? 0
|
||||
: 80
|
||||
}
|
||||
shortHeader={
|
||||
from == "AllTrainDiagramView" || from == "NearTrainDiagramView" ? (
|
||||
from == "AllTrainDiagramView" ||
|
||||
from == "NearTrainDiagramView" ||
|
||||
from == "LED2" ? (
|
||||
<></>
|
||||
) : (
|
||||
<ShortHeader
|
||||
|
Reference in New Issue
Block a user