web/admin: fix mismatched values in charts
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -57,7 +57,7 @@ export class OutpostStatusChart extends AKChart<OutpostStats> {
|
||||
);
|
||||
this.centerText = outposts.pagination.count.toString();
|
||||
return {
|
||||
healthy: outposts.pagination.count === 0 ? -1 : healthy,
|
||||
healthy: outposts.pagination.count === 0 ? 0 : healthy,
|
||||
outdated,
|
||||
unhealthy,
|
||||
};
|
||||
|
Reference in New Issue
Block a user