mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-11 02:38:59 +08:00
Made sure that more of the async usages are awaited (#4574)
This commit is contained in:
@@ -288,7 +288,7 @@ export default {
|
||||
|
||||
/**
|
||||
* Submit tag and monitorTag changes to server
|
||||
* @returns {void}
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
async submit() {
|
||||
this.processing = true;
|
||||
@@ -348,7 +348,7 @@ export default {
|
||||
|
||||
/**
|
||||
* Delete the editing tag from server
|
||||
* @returns {void}
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
async deleteTag() {
|
||||
this.processing = true;
|
||||
|
@@ -384,7 +384,7 @@ export default {
|
||||
/**
|
||||
* Submit the form data
|
||||
* @param {number} monitorId ID of monitor this change affects
|
||||
* @returns {void}
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
async submit(monitorId) {
|
||||
console.log(`Submitting tag changes for monitor ${monitorId}...`);
|
||||
|
@@ -85,7 +85,7 @@ export default {
|
||||
|
||||
/**
|
||||
* Get the telegram chat ID
|
||||
* @returns {void}
|
||||
* @returns {Promise<void>}
|
||||
* @throws The chat ID could not be found
|
||||
*/
|
||||
async autoGetTelegramChatID() {
|
||||
|
@@ -1470,7 +1470,7 @@ message HealthCheckResponse {
|
||||
|
||||
/**
|
||||
* Submit the form data for processing
|
||||
* @returns {void}
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
async submit() {
|
||||
|
||||
@@ -1535,7 +1535,7 @@ message HealthCheckResponse {
|
||||
|
||||
// Start the new parent monitor after edit is done
|
||||
if (createdNewParent) {
|
||||
this.startParentGroupMonitor();
|
||||
await this.startParentGroupMonitor();
|
||||
}
|
||||
this.processing = false;
|
||||
this.$root.getMonitorList();
|
||||
|
Reference in New Issue
Block a user