fix api path
This commit is contained in:
@ -247,7 +247,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
loadHardwareModelStats: function() {
|
loadHardwareModelStats: function() {
|
||||||
window.axios.get('/api/v1/stats/hardware').then((response) => {
|
window.axios.get('/api/v1/stats/hardware-models').then((response) => {
|
||||||
this.hardwareModelStats = response.data.hardware_model_stats;
|
this.hardwareModelStats = response.data.hardware_model_stats;
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
// do nothing
|
// do nothing
|
||||||
|
Reference in New Issue
Block a user