fix timetable id

This commit is contained in:
2023-06-21 17:19:31 +02:00
parent 66262e3fcd
commit e271358a27
2 changed files with 3 additions and 2 deletions
@@ -3,6 +3,8 @@ import { JournalTimetableSorter } from '../../types/JournalTimetablesTypes';
export interface TimetablesQueryParams {
driverName?: string;
trainNo?: string;
timetableId?: string;
authorName?: string;
timestampFrom?: number;
timestampTo?: number;
+1 -2
View File
@@ -287,8 +287,7 @@ export default defineComponent({
});
queryParams['driverName'] = driverName;
queryParams['trainNo'] = trainNo;
queryParams[trainNo?.startsWith('#') ? 'timetableId' : 'trainNo'] = trainNo?.replace('#', '');
queryParams['countFrom'] = undefined;
queryParams['countLimit'] = undefined;