diff --git a/src/components/ActionDialogs/Tables/PlayersGraph.vue b/src/components/ActionDialogs/Tables/PlayersGraph.vue
index ebdb52f..50b51ae 100644
--- a/src/components/ActionDialogs/Tables/PlayersGraph.vue
+++ b/src/components/ActionDialogs/Tables/PlayersGraph.vue
@@ -29,7 +29,7 @@
- {{days}} дней
+ {{days}} дней
Закрыть
@@ -67,6 +67,10 @@ export default {
}
},
onLoad() {
+ if (this.request === 'api/stats/graph/peak/of/minutes' && this.limit > 30) {
+ this.limit = 30;
+ }
+
this.loading = true;
axios.get(`${this.request}?limit=${this.limit}&server_id=${this.srv}` + this.request_minutes + Random.getRndWebAppend()).then(
response => {