Change some jsdoc rule to warn instead of error

This commit is contained in:
Louis Lam
2023-08-11 22:29:45 +08:00
parent d33b4f46e4
commit db3a7d69fe
7 changed files with 53 additions and 17 deletions

View File

@@ -120,8 +120,7 @@ export default {
/**
* Returns a sorted list of monitors based on the applied filters and search text.
*
* @return {Array} The sorted list of monitors.
* @returns {Array} The sorted list of monitors.
*/
sortedMonitorList() {
let result = Object.values(this.$root.monitorList);
@@ -222,8 +221,7 @@ export default {
/**
* Determines if any filters are active.
*
* @return {boolean} True if any filter is active, false otherwise.
* @returns {boolean} True if any filter is active, false otherwise.
*/
filtersActive() {
return this.filterState.status != null || this.filterState.active != null || this.filterState.tags != null || this.searchText !== "";