web: fix linting

This commit is contained in:
Jens Langhammer 2020-12-16 23:50:23 +01:00
parent a5e5e140d6
commit 64d2a216f0
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
import { gettext } from "django"; import { gettext } from "django";
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import { CSSResult, customElement, html, LitElement, TemplateResult } from "lit-element";
import { DefaultClient } from "../../api/Client"; import { DefaultClient } from "../../api/Client";
import { COMMON_STYLES } from "../../common/styles"; import { COMMON_STYLES } from "../../common/styles";

View file

@ -9,6 +9,7 @@ export class UserCountStatusCard extends AdminStatusCard<number> {
return User.count(); return User.count();
} }
// eslint-disable-next-line @typescript-eslint/no-unused-vars
getStatus(value: number): Promise<AdminStatus> { getStatus(value: number): Promise<AdminStatus> {
return Promise.resolve<AdminStatus>({ return Promise.resolve<AdminStatus>({
icon: "fa fa-check-circle pf-m-success" icon: "fa fa-check-circle pf-m-success"