Add village status line
This commit is contained in:
parent
70f804e8d3
commit
0625abd4eb
@ -189,6 +189,11 @@
|
|||||||
<a class="village-quick-link" :href="collectionPointPath(villageState.village)">Войска</a>
|
<a class="village-quick-link" :href="collectionPointPath(villageState.village)">Войска</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr class="normal-line">
|
||||||
|
<td></td>
|
||||||
|
<td class="right" colspan="5" v-text="villageStatus(villageState)"></td>
|
||||||
|
</tr>
|
||||||
</template>
|
</template>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -230,6 +235,11 @@ export default {
|
|||||||
const threshold = villageState.settings.sendResourcesThreshold;
|
const threshold = villageState.settings.sendResourcesThreshold;
|
||||||
return `${name}, ${id}, отправка ${timeout} мин, порог ${threshold}`;
|
return `${name}, ${id}, отправка ${timeout} мин, порог ${threshold}`;
|
||||||
},
|
},
|
||||||
|
villageStatus(villageState) {
|
||||||
|
const timeout = villageState.settings.sendResourcesTimeout;
|
||||||
|
const threshold = villageState.settings.sendResourcesThreshold;
|
||||||
|
return `отправка ${timeout} мин, порог ${threshold}`;
|
||||||
|
},
|
||||||
path(name, args) {
|
path(name, args) {
|
||||||
return path(name, args);
|
return path(name, args);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user