Dodano informacje o poc. offline

This commit is contained in:
2022-06-29 00:19:17 +02:00
parent 4e80e73949
commit 01a03622fb
8 changed files with 147 additions and 119 deletions
+7 -1
View File
@@ -37,7 +37,7 @@
<img src="@/assets/icon-dispatcher.svg" alt="icon dispatcher" />
<span class="text--primary">{{ onlineDispatchers.length }}</span>
<span class="text--grayed"> / </span>
<span class="text--primary">{{ store.trainList.length }}</span>
<span class="text--primary">{{ trainList.length }}</span>
<img src="@/assets/icon-train.svg" alt="icon train" />
</div>
@@ -125,6 +125,12 @@ export default defineComponent({
};
},
computed: {
trainList() {
return this.store.trainList.filter(train => train.online);
}
},
data: () => ({
VERSION: packageInfo.version,
updateModalVisible: false,