mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 20:55:49 +00:00
Fix
This commit is contained in:
@@ -108,7 +108,9 @@ const isDeviceItem = (item: QuickBarItem): item is DeviceItem =>
|
||||
(item as DeviceItem).deviceId !== undefined;
|
||||
|
||||
const isIntegrationItem = (item: QuickBarItem): item is IntegrationItem =>
|
||||
(item as IntegrationItem).domain !== undefined;
|
||||
(item as DeviceItem).deviceId === undefined &&
|
||||
(item as IntegrationItem).domain !== undefined &&
|
||||
(item as IntegrationItem).translatedDomain !== undefined;
|
||||
|
||||
interface QuickBarNavigationItem extends CommandItem {
|
||||
path: string;
|
||||
|
||||
Reference in New Issue
Block a user