Small improvements

This commit is contained in:
Anton Vakhrushev 2020-06-06 21:00:02 +03:00
parent d29e95f511
commit 7f5fa089aa
3 changed files with 2 additions and 22 deletions

View File

@ -16,7 +16,7 @@ export default {
return Math.floor((this.value / this.full) * 100);
},
title() {
return `${this.value}/${this.full}, ${this.percent}%`;
return `тек. ${this.value} / опт. склад ${this.warning} / полн. ${this.full}, ${this.percent}%`;
},
classes() {
return {

View File

@ -120,26 +120,6 @@
v-if="!villageState.incomingResources.empty() && isExtended(villageState.id)"
/>
<resource-line
v-if="isExtended(villageState.id)"
:title="'Крит. уровень:'"
:hint="'Критический уровень'"
:hide-zero="true"
:color="false"
:sign="false"
:resources="villageState.upperCriticalLevel"
/>
<resource-line
v-if="isExtended(villageState.id)"
:title="'Опт. уровень:'"
:hint="'Оптимальный уровень'"
:hide-zero="true"
:color="false"
:sign="false"
:resources="villageState.storageOptimumFullness"
/>
<tr class="normal-line">
<td class="right" colspan="7">
<a

View File

@ -49,7 +49,7 @@ export class Scheduler {
});
}
this.createUniqTaskTimer(5 * 60, GrabVillageState.name);
this.createUniqTaskTimer(10 * 60, GrabVillageState.name);
this.createUniqTaskTimer(10 * 60, SendResourcesTask.name);
this.createUniqTaskTimer(10 * 60, BalanceHeroResourcesTask.name);
this.createUniqTaskTimer(20 * 60, UpdateResourceContracts.name);