getTrainTypeの仕様更新
This commit is contained in:
@@ -163,6 +163,7 @@ export const getTrainType: getTrainType = ({ type, id, whiteMode }) => {
|
|||||||
};
|
};
|
||||||
case "Other":
|
case "Other":
|
||||||
default:
|
default:
|
||||||
|
if(id){
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case !!id.includes("T"):
|
case !!id.includes("T"):
|
||||||
return {
|
return {
|
||||||
@@ -196,6 +197,8 @@ export const getTrainType: getTrainType = ({ type, id, whiteMode }) => {
|
|||||||
data: "notService",
|
data: "notService",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
color: whiteMode ? "black" : "white",
|
color: whiteMode ? "black" : "white",
|
||||||
name: "その他",
|
name: "その他",
|
||||||
|
Reference in New Issue
Block a user