mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-10-31 07:55:06 +01:00 
			
		
		
		
	amend polar frontend logs
This commit is contained in:
		| @@ -41,7 +41,7 @@ | ||||
|  | ||||
|     function loadData(type) { | ||||
|         if (!labels) { | ||||
|             console.warn("Empty 'metrics' array prop! Cannot render Polar.") | ||||
|             console.warn("Empty 'polarMetrics' array prop! Cannot render Polar representation.") | ||||
|             return [] | ||||
|         } else { | ||||
|             if (type === 'avg') { | ||||
| @@ -51,7 +51,7 @@ | ||||
|             } else if (type === 'min') { | ||||
|                 return getValues(getMin) | ||||
|             } | ||||
|             console.log('Unknown Type For Polar Data') | ||||
|             console.log('Unknown Type For Polar Data (must be one of [min, max, avg])') | ||||
|             return [] | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user