Skip to content

Commit 8cbab9a

Browse files
committed
linting etc
1 parent b1d095f commit 8cbab9a

File tree

3 files changed

+167
-180
lines changed

3 files changed

+167
-180
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/Client/src/dashboard/search-management-dashboard/views/algolia-dashboard-overview.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ import {
1919
} from "@umbraco-integrations/algolia/generated";
2020
import AlgoliaIndexContext, { ALGOLIA_CONTEXT_TOKEN } from "../../../context/algolia-index.context";
2121

22-
@customElement("algolia-dashboard-overview")
22+
const elementName = "algolia-dashboard-overview";
23+
24+
@customElement(elementName)
2325
export class AlgoliaDashboardOverviewElement extends UmbElementMixin(LitElement) {
2426
#algoliaIndexContext?: AlgoliaIndexContext;
2527

@@ -250,6 +252,6 @@ export default AlgoliaDashboardOverviewElement;
250252

251253
declare global {
252254
interface HTMLElementTagNameMap {
253-
'algolia-dashboard-overview': AlgoliaDashboardOverviewElement
255+
[elementName]: AlgoliaDashboardOverviewElement
254256
}
255257
}

0 commit comments

Comments
 (0)