路線名の表記ゆれを修正

This commit is contained in:
harukin-expo-dev-env 2024-05-28 00:35:27 +00:00
parent c05824c3d0
commit 2b41cbb0b0
3 changed files with 14 additions and 14 deletions

View File

@ -262,9 +262,9 @@ const NexPreStationLine = ({ currentStation, originalStationList }) => {
"土讃線(多度津-高知間)[D]",
"土讃線(高知-窪川間)[K]",
"高徳線(高松-徳島間)[T]",
"徳島線(徳島-阿波池田)[B]",
"徳島線(徳島-阿波池田)[B]",
"鳴門線(池谷-鳴門間)[N]",
"瀬戸大橋線(宇多津-児島間)[M]",
"瀬戸大橋線(児島-宇多津間)[M]",
];
let returnData;
lineList.forEach((d) => {

View File

@ -75,9 +75,9 @@ export default function Sign(props) {
"土讃線(多度津-高知間)[D]",
"土讃線(高知-窪川間)[K]",
"高徳線(高松-徳島間)[T]",
"徳島線(徳島-阿波池田)[B]",
"徳島線(徳島-阿波池田)[B]",
"鳴門線(池谷-鳴門間)[N]",
"瀬戸大橋線(宇多津-児島間)[M]",
"瀬戸大橋線(児島-宇多津間)[M]",
];
let returnData;
lineList.forEach((d) => {

View File

@ -25,9 +25,9 @@ export const lineList = [
"土讃線(多度津-高知間)[D]",
"土讃線(高知-窪川間)[K]",
"高徳線(高松-徳島間)[T]",
"徳島線(徳島-阿波池田)[B]",
"徳島線(徳島-阿波池田)[B]",
"鳴門線(池谷-鳴門間)[N]",
"瀬戸大橋線(宇多津-児島間)[M]",
"瀬戸大橋線(児島-宇多津間)[M]",
];
export const lineListPair = {
Y: "予讃線(高松-松山間)[Y]",
@ -36,9 +36,9 @@ export const lineListPair = {
D: "土讃線(多度津-高知間)[D]",
K: "土讃線(高知-窪川間)[K]",
T: "高徳線(高松-徳島間)[T]",
B: "徳島線(徳島-阿波池田)[B]",
B: "徳島線(徳島-阿波池田)[B]",
N: "鳴門線(池谷-鳴門間)[N]",
M: "瀬戸大橋線(宇多津-児島間)[M]",
M: "瀬戸大橋線(児島-宇多津間)[M]",
};
export const getStationList = async (props) => {
@ -65,9 +65,9 @@ export const getStationList = async (props) => {
stationList["土讃線(多度津-高知間)[D]"],
stationList["土讃線(高知-窪川間)[K]"],
stationList["高徳線(高松-徳島間)[T]"],
stationList["徳島線(徳島-阿波池田)[B]"],
stationList["徳島線(徳島-阿波池田)[B]"],
stationList["鳴門線(池谷-鳴門間)[N]"],
stationList["瀬戸大橋線(宇多津-児島間)[M]"],
stationList["瀬戸大橋線(児島-宇多津間)[M]"],
stationList.駅間リスト,
stationList.日英対応表,
] = values;
@ -160,16 +160,16 @@ export const getStationList = async (props) => {
stationList.日英対応表
);
const tokushimaCurrent = addStationPosition(
concatBetweenStations(stationList["徳島線(徳島-阿波池田)[B]"]),
concatBetweenStations(stationList["徳島線(徳島-阿波池田)[B]"]),
徳島線,
stationList.日英対応表
);
stationList["徳島線(徳島-阿波池田)[B]"] = [
stationList["徳島線(徳島-阿波池田)[B]"] = [
tokushimaCurrent[tokushimaCurrent.length - 1],
...tokushimaCurrent,
];
stationList["徳島線(徳島-阿波池田)[B]"].pop();
stationList["瀬戸大橋線(宇多津-児島間)[M]"] = [
stationList["徳島線(徳島-阿波池田)[B]"].pop();
stationList["瀬戸大橋線(児島-宇多津間)[M]"] = [
{
Station_JP: "坂出",
Station_EN: "Sakaide",