wyświetlanie RJ dla scenerii offline

This commit is contained in:
2024-02-10 01:30:43 +01:00
parent eaefe955a7
commit 41b335555a
21 changed files with 161 additions and 101 deletions
+1 -1
View File
@@ -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';