mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 12:21:22 +08:00
Fixed typos + improved clarity and detail of some JSDoc
Apply suggestions from code review Co-authored-by: Nelson Chan <chakflying@hotmail.com>
This commit is contained in:
@@ -130,7 +130,7 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
/** Show dialog to confirm delection */
|
||||
/** Show dialog to confirm deletion */
|
||||
deleteConfirm() {
|
||||
this.modal.hide();
|
||||
this.$refs.confirmDelete.show();
|
||||
|
@@ -271,9 +271,9 @@ export default {
|
||||
},
|
||||
/**
|
||||
* 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
|
||||
* @param {Object} option The tag that needs to be displayed.
|
||||
* Defaults to "white" unless the tag has no color, which will
|
||||
* then return the body color (based on application theme)
|
||||
* @returns string
|
||||
*/
|
||||
textColor(option) {
|
||||
|
Reference in New Issue
Block a user