diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index 93a7577ffd..69c95205cd 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -39,7 +39,7 @@ - + {{ $t("selectedMonitorCount", [ selectedMonitorCount ]) }} @@ -69,7 +69,7 @@ {{ $t("pauseMonitorMsg") }} - + {{ $t("deleteSelectedMonitorMsg") }} @@ -333,9 +333,9 @@ export default { * confirm or cancel the deletion of the selected monitors. * @returns {void} */ - deleteSelectedDialog() { + deleteSelectedMonitorDialog() { // Show the confirmation dialog for deletion - this.$refs.confirmDeleteSelected.show(); + this.$refs.confirmDeleteSelectedMonitor.show(); }, /** @@ -344,7 +344,7 @@ export default { * the user interface, and reloads the page to reflect the changes. * @returns {void} */ - deleteSelected() { + deleteSelectedMonitor() { // Iterate over each selected monitor's ID and delete it Object.keys(this.selectedMonitors).forEach(id => { // Call the root method to delete the monitor by its ID