From af18d479c4908427e0d325c5a6041251c16997a8 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Mon, 9 Oct 2023 00:21:08 +0200 Subject: [PATCH] feat(dashboard): add icons for some features --- src/components/dashboard-page/DashboardFeatureWrapper.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/dashboard-page/DashboardFeatureWrapper.tsx b/src/components/dashboard-page/DashboardFeatureWrapper.tsx index eb77d7c5b..131960ac8 100644 --- a/src/components/dashboard-page/DashboardFeatureWrapper.tsx +++ b/src/components/dashboard-page/DashboardFeatureWrapper.tsx @@ -54,10 +54,13 @@ const typeToClassMap = { away_mode: ['fa-plane', 'text-info'], vibration: ['fa-water fa-rotate-270'], power_outage_count: ['fa-plug-circle-xmark'], + action: ['fa-a'], angle_x: ['fa-x'], angle_y: ['fa-y'], angle_z: ['fa-z'], side: ['fa-cube'], + humidity_alarm: ['fa-triangle-exclamation'], + temperature_alarm: ['fa-triangle-exclamation'], }; const getGenericFeatureIcon = (name: string, value: unknown): string => {