From 0625abd4ebf35d21012b77519391ce75d1dd6bee Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Sun, 17 May 2020 19:23:04 +0300 Subject: [PATCH] Add village status line --- src/DashboardView/VillageStateList.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/DashboardView/VillageStateList.vue b/src/DashboardView/VillageStateList.vue index 6a041c4..4f5df9c 100644 --- a/src/DashboardView/VillageStateList.vue +++ b/src/DashboardView/VillageStateList.vue @@ -189,6 +189,11 @@ Войска + + + + + @@ -230,6 +235,11 @@ export default { const threshold = villageState.settings.sendResourcesThreshold; return `${name}, ${id}, отправка ${timeout} мин, порог ${threshold}`; }, + villageStatus(villageState) { + const timeout = villageState.settings.sendResourcesTimeout; + const threshold = villageState.settings.sendResourcesThreshold; + return `отправка ${timeout} мин, порог ${threshold}`; + }, path(name, args) { return path(name, args); },