mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
chore: added tn/pn filters for trains & timetables
This commit is contained in:
@@ -39,6 +39,8 @@ export namespace Journal {
|
||||
ALL_SPECIALS = 'all-specials',
|
||||
TWR = 'twr',
|
||||
SKR = 'skr',
|
||||
PN = 'pn',
|
||||
TN = 'tn',
|
||||
TWR_SKR = 'twr-skr'
|
||||
}
|
||||
|
||||
|
||||
@@ -12,12 +12,14 @@ export const enum TrainFilterId {
|
||||
withComments = 'withComments',
|
||||
|
||||
twr = 'twr',
|
||||
skr = 'skr',
|
||||
tn = 'tn',
|
||||
pn = 'pn',
|
||||
common = 'common',
|
||||
|
||||
passenger = 'passenger',
|
||||
freight = 'freight',
|
||||
other = 'other',
|
||||
|
||||
noTimetable = 'noTimetable',
|
||||
withTimetable = 'withTimetable'
|
||||
}
|
||||
@@ -40,7 +42,12 @@ export const trainFilters: TrainFilter[] = [
|
||||
isActive: true
|
||||
},
|
||||
{
|
||||
id: TrainFilterId.skr,
|
||||
id: TrainFilterId.tn,
|
||||
section: TrainFilterSection.TRAIN_TYPE,
|
||||
isActive: true
|
||||
},
|
||||
{
|
||||
id: TrainFilterId.pn,
|
||||
section: TrainFilterSection.TRAIN_TYPE,
|
||||
isActive: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user