From b5d1fc52fc4cb3095342e1316262923bba46b1fc Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Thu, 21 Dec 2023 18:08:25 +0800 Subject: [PATCH] Chore: Fix comments --- src/components/PingChart.vue | 2 +- src/mixins/socket.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PingChart.vue b/src/components/PingChart.vue index 0c66ce9e..3341bd9a 100644 --- a/src/components/PingChart.vue +++ b/src/components/PingChart.vue @@ -38,7 +38,7 @@ export default { loading: false, - // Configurable filtering on top of the returned data + // Time period for the chart to display, in hours chartPeriodHrs: "0", chartPeriodOptions: { diff --git a/src/mixins/socket.js b/src/mixins/socket.js index 0c01f28f..327a7709 100644 --- a/src/mixins/socket.js +++ b/src/mixins/socket.js @@ -685,7 +685,7 @@ export default { /** * Retrieves monitor chart data. * @param {string} monitorID - The ID of the monitor. - * @param {string} period - The time period for the chart data. + * @param {number} period - The time period for the chart data, in hours. * @param {socketCB} callback - The callback function to handle the chart data. * @returns {void} */