diff --git a/src/components/Widgets/NdCpuHistory.vue b/src/components/Widgets/NdCpuHistory.vue index 52ce8ca1..49e74ffe 100644 --- a/src/components/Widgets/NdCpuHistory.vue +++ b/src/components/Widgets/NdCpuHistory.vue @@ -33,9 +33,7 @@ export default { methods: { /* Make GET request to NetData */ fetchData() { - this.makeRequest(this.endpoint).then( - (response) => { this.processData(response); }, - ); + this.makeRequest(this.endpoint).then(this.processData); }, /* Assign data variables to the returned data */ processData(inputData) { diff --git a/src/components/Widgets/NdLoadHistory.vue b/src/components/Widgets/NdLoadHistory.vue index 2d10bb05..3be50f64 100644 --- a/src/components/Widgets/NdLoadHistory.vue +++ b/src/components/Widgets/NdLoadHistory.vue @@ -3,7 +3,6 @@