mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 23:13:19 -04:00
Improve JSDoc for some components
Apply suggestions from code review Co-authored-by: Nelson Chan <chakflying@hotmail.com>
This commit is contained in:
parent
213aca4fc3
commit
2170229031
5 changed files with 10 additions and 9 deletions
|
@ -270,7 +270,7 @@ export default {
|
|||
}
|
||||
},
|
||||
/**
|
||||
* Set colour of text
|
||||
* Get colour of text inside the tag
|
||||
* @param {Object} option Object representing color choice. If
|
||||
* option.color is set, the text color will be white, else it
|
||||
* be chosen based upon application theme
|
||||
|
@ -357,7 +357,7 @@ export default {
|
|||
this.$root.getSocket().emit("deleteMonitorTag", tagId, monitorId, value, resolve);
|
||||
});
|
||||
},
|
||||
/** Called as user types input */
|
||||
/** Handle pressing Enter key when inside the modal */
|
||||
onEnter() {
|
||||
if (!this.validateDraftTag.invalid) {
|
||||
this.addDraftTag();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue