Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
silamon committed Mar 31, 2024
1 parent cdaf126 commit 3adb3ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/layouts/hass-tabs-subpage-data-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import "../components/ha-menu-item";
import type { HomeAssistant, Route } from "../types";
import "./hass-tabs-subpage";
import type { PageNavigation } from "./hass-tabs-subpage";
import type { HaMenu } from "../components/ha-menu";

declare global {
// for fire event
Expand Down Expand Up @@ -176,9 +177,9 @@ export class HaTabsSubpageDataTable extends LitElement {

@query("ha-data-table", true) private _dataTable!: HaDataTable;

@query("#group-by-menu") private _groupByMenu!: MdMenu;
@query("#group-by-menu") private _groupByMenu!: HaMenu;

@query("#sort-by-menu") private _sortByMenu!: MdMenu;
@query("#sort-by-menu") private _sortByMenu!: HaMenu;

private _showPaneController = new ResizeController(this, {
callback: (entries) => entries[0]?.contentRect.width > 750,
Expand Down

0 comments on commit 3adb3ac

Please sign in to comment.