chore(journal): added dispatcher filtering by duty id

This commit is contained in:
2026-02-17 21:56:40 +01:00
parent 1a7801259f
commit f38ad8fa81
3 changed files with 12 additions and 5 deletions
+1
View File
@@ -1,5 +1,6 @@
export namespace Journal {
export type DispatcherSearchKey =
| 'search-duty-id'
| 'search-dispatcher'
| 'search-station'
| 'search-date-from'
@@ -19,7 +19,7 @@
:to="
'trainNo' in entry.value
? `/journal/timetables?search-train=%23${entry.value.id}`
: `/journal/dispatchers?search-dispatcher=${entry.value.dispatcherName}`
: `/journal/dispatchers?search-duty-id=${entry.value.id}`
"
>
<!-- Date -->
@@ -209,7 +209,7 @@ function toggleFilter(filterType: JournalEntryType) {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1em;
padding: 0 1px;
padding: 1px;
}
.menu-btn {