Skip to content

Commit

Permalink
fixup! front: clean and improve import translations
Browse files Browse the repository at this point in the history
  • Loading branch information
clarani committed Dec 24, 2024
1 parent d68b026 commit 9a50863
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const ImportTrainScheduleTrainsList = ({
title: t('success'),
text: t('status.successfulImport', {
trainsList,
count: trainsList.length,
count: trainsList.length || trainsJsonData.length,
}),
})
);
Expand All @@ -106,7 +106,7 @@ const ImportTrainScheduleTrainsList = ({
name: t('failure'),
message: t('status.invalidTrainSchedules', {
trainsList,
count: trainsList.length,
count: trainsList.length || trainsJsonData.length,
}),
})
);
Expand Down

0 comments on commit 9a50863

Please sign in to comment.