From 64d2a216f0e8738862468c23cc1ac21900219b5f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 16 Dec 2020 23:50:23 +0100 Subject: [PATCH] web: fix linting --- web/src/pages/admin-overview/AdminOverviewPage.ts | 2 +- web/src/pages/admin-overview/cards/UserCountStatusCard.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/pages/admin-overview/AdminOverviewPage.ts b/web/src/pages/admin-overview/AdminOverviewPage.ts index 3f0754a62..ac7a3f79b 100644 --- a/web/src/pages/admin-overview/AdminOverviewPage.ts +++ b/web/src/pages/admin-overview/AdminOverviewPage.ts @@ -1,5 +1,5 @@ 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 { COMMON_STYLES } from "../../common/styles"; diff --git a/web/src/pages/admin-overview/cards/UserCountStatusCard.ts b/web/src/pages/admin-overview/cards/UserCountStatusCard.ts index 6c556b673..13886290a 100644 --- a/web/src/pages/admin-overview/cards/UserCountStatusCard.ts +++ b/web/src/pages/admin-overview/cards/UserCountStatusCard.ts @@ -9,6 +9,7 @@ export class UserCountStatusCard extends AdminStatusCard { return User.count(); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars getStatus(value: number): Promise { return Promise.resolve({ icon: "fa fa-check-circle pf-m-success"