diff --git a/src/components/AmeyLiveTrainAnnouncements.tsx b/src/components/AmeyLiveTrainAnnouncements.tsx index 8cbc28f42..d24fbc9ca 100644 --- a/src/components/AmeyLiveTrainAnnouncements.tsx +++ b/src/components/AmeyLiveTrainAnnouncements.tsx @@ -1054,9 +1054,12 @@ export function LiveTrainAnnouncements({ station: selectedCrs, noBg: '1', hideSettings: '1', - useLegacyTocNames: useLegacyTocNames ? '1' : '0', }) + if (useLegacyTocNames) { + iframeQueryParams.append('useLegacyTocNames', '1') + } + Object.entries(systemKeyForPlatform) .filter(([_, system]) => system !== null) .forEach(([p]) => {