- Task count: {{ shared.taskList.length }}
+
+ Task count: {{ shared.taskList.length }}
+ , actions left {{ actionCount }}
+
@@ -27,6 +30,11 @@ export default {
activeVillage: this.$root.$data.activeVillage,
};
},
+ computed: {
+ actionCount() {
+ return this.shared.actionList.length;
+ },
+ },
methods: {
formatDate(ts) {
const d = new Date(ts * 1000);
diff --git a/src/DashboardView/VillageStateList.vue b/src/DashboardView/VillageStateList.vue
index a77c3bc..e44d0d5 100644
--- a/src/DashboardView/VillageStateList.vue
+++ b/src/DashboardView/VillageStateList.vue
@@ -51,11 +51,19 @@
|
- Профицит: |
- |
- |
- |
- |
+ Баланс: |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
|
|
@@ -90,8 +98,12 @@