mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55:35 +00:00
Power warning when at 100%
This commit is contained in:
@@ -178,7 +178,7 @@ angular.module('app').directive('powerBands', ['$window', '$translate', '$rootSc
|
||||
}
|
||||
|
||||
function getClass(selected, sum, avail) {
|
||||
return selected ? 'secondary' : (sum > avail) ? 'warning' : 'primary';
|
||||
return selected ? 'secondary' : (sum >= avail) ? 'warning' : 'primary';
|
||||
}
|
||||
|
||||
function bandText(val, index) {
|
||||
|
||||
Reference in New Issue
Block a user