mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
wyświetlanie RJ dla scenerii offline
This commit is contained in:
@@ -85,7 +85,7 @@ export default defineComponent({
|
||||
|
||||
regionList() {
|
||||
return regionsJSON.map((region) => {
|
||||
const regionStationCount = this.store.onlineSceneryList.filter(
|
||||
const regionStationCount = this.store.activeSceneryList.filter(
|
||||
(scenery) => scenery.region == region.id
|
||||
).length;
|
||||
|
||||
|
||||
@@ -61,6 +61,9 @@ export default defineComponent({
|
||||
case Status.ActiveDispatcher.UNKNOWN:
|
||||
return 'unknown';
|
||||
|
||||
case Status.ActiveDispatcher.FREE:
|
||||
return 'free';
|
||||
|
||||
default:
|
||||
if (this.dispatcherTimestamp != null && this.dispatcherStatus >= Date.now() + 25500000)
|
||||
return 'no-limit';
|
||||
|
||||
Reference in New Issue
Block a user