web: fix typo
This commit is contained in:
parent
b80b2626a6
commit
2ffaa94825
|
@ -7,7 +7,7 @@ import { AdminStatus, AdminStatusCard } from "./AdminStatusCard";
|
||||||
export class WorkersStatusCard extends AdminStatusCard<number> {
|
export class WorkersStatusCard extends AdminStatusCard<number> {
|
||||||
|
|
||||||
getPrimaryValue(): Promise<number> {
|
getPrimaryValue(): Promise<number> {
|
||||||
return DefaultClient.fetch<PBResponse<number>>(["admins", "workers"]).then((r) => {
|
return DefaultClient.fetch<PBResponse<number>>(["admin", "workers"]).then((r) => {
|
||||||
return r.pagination.count;
|
return r.pagination.count;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue