mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-03-03 20:34:04 +00:00
make check results chart more responsive with large amounts of data
This commit is contained in:
@@ -125,7 +125,7 @@ export default {
|
||||
this.$axios
|
||||
.patch(`/checks/history/${this.check.id}/`, { timeFilter: this.timeFilter })
|
||||
.then(r => {
|
||||
this.history = r.data;
|
||||
this.history = Object.freeze(r.data);
|
||||
|
||||
// save copy of data to reference results in chart tooltip
|
||||
if (
|
||||
@@ -133,7 +133,7 @@ export default {
|
||||
this.check.check_type !== "memory" ||
|
||||
this.check.check_type !== "diskspace"
|
||||
) {
|
||||
this.results = r.data;
|
||||
this.results = Object.freeze(r.data);
|
||||
}
|
||||
|
||||
this.$q.loading.hide();
|
||||
|
||||
Reference in New Issue
Block a user