mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
poprawki filtrów RJ
This commit is contained in:
@@ -202,33 +202,31 @@
|
|||||||
<span>
|
<span>
|
||||||
<span class="highlight">{{ station.onlineInfo?.currentUsers || 0 }}</span>
|
<span class="highlight">{{ station.onlineInfo?.currentUsers || 0 }}</span>
|
||||||
/
|
/
|
||||||
<span>{{ station.onlineInfo?.maxUsers || 0 }}</span>
|
<span class="highlight">{{ station.onlineInfo?.maxUsers || 0 }}</span>
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="station_spawns" :class="{ inactive: !station.onlineInfo }">
|
<td class="station_spawns" :class="{ inactive: !station.onlineInfo }">
|
||||||
<span class="highlight">{{ station.onlineInfo?.spawns.length || 0 }}</span>
|
<span>{{ station.onlineInfo?.spawns.length || 0 }}</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="station_schedules" colspan="3" style="width: 30px" :class="{ inactive: !station.onlineInfo }">
|
<td class="station_schedules" style="width: 30px" :class="{ inactive: !station.onlineInfo }">
|
||||||
<span class="highlight">
|
<span class="highlight">
|
||||||
{{ station.onlineInfo?.scheduledTrains?.length || 0 }}
|
{{ station.onlineInfo?.scheduledTrains?.length || 0 }}
|
||||||
</span>
|
</span>
|
||||||
/
|
</td>
|
||||||
<span style="color: #66ff6c">
|
|
||||||
{{ station.onlineInfo?.scheduledTrains?.filter((train) => train.stopInfo.confirmed).length || 0 }}
|
<td class="station_schedules" style="width: 30px" :class="{ inactive: !station.onlineInfo }">
|
||||||
</span>
|
|
||||||
/
|
|
||||||
<span style="color: #ccc">
|
<span style="color: #ccc">
|
||||||
{{ station.onlineInfo?.scheduledTrains?.filter((train) => !train.stopInfo.confirmed).length || 0 }}
|
{{ station.onlineInfo?.scheduledTrains?.filter((train) => !train.stopInfo.confirmed).length || 0 }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<!-- <td class="station_schedules" :class="{ inactive: !station.onlineInfo }">
|
<td class="station_schedules" style="width: 30px" :class="{ inactive: !station.onlineInfo }">
|
||||||
{{
|
<span style="color: #66ff6c">
|
||||||
(station.onlineInfo?.scheduledTrains?.filter((train) => !train.stopInfo.confirmed).length || 0)
|
{{ station.onlineInfo?.scheduledTrains?.filter((train) => train.stopInfo.confirmed).length || 0 }}
|
||||||
}}
|
</span>
|
||||||
</td> -->
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,13 +1,5 @@
|
|||||||
export const headIds = [
|
export const headIds = ['station', 'min-lvl', 'status', 'dispatcher', 'dispatcher-lvl', 'routes', 'general'] as const;
|
||||||
'station',
|
|
||||||
'min-lvl',
|
|
||||||
'status',
|
|
||||||
'dispatcher',
|
|
||||||
'dispatcher-lvl',
|
|
||||||
'routes',
|
|
||||||
'general',
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
export const headIconsIds = ['user', 'spawn', 'timetableAll', 'timetableConfirmed', 'timetableUnconfirmed'] as const;
|
export const headIconsIds = ['user', 'spawn', 'timetableAll', 'timetableUnconfirmed', 'timetableConfirmed'] as const;
|
||||||
|
|
||||||
export type HeadIdsTypes = typeof headIds[number] | typeof headIconsIds[number];
|
export type HeadIdsTypes = typeof headIds[number] | typeof headIconsIds[number];
|
||||||
|
|||||||
Reference in New Issue
Block a user