Skip to content

Commit e440fb7

Browse files
authored
Update DashboardFeatureWrapper.tsx (#2412)
Add icons
1 parent e8ea3c9 commit e440fb7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/dashboard-page/DashboardFeatureWrapper.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ const typeToClassMap = {
6161
side: ['fa-cube'],
6262
humidity_alarm: ['fa-triangle-exclamation'],
6363
temperature_alarm: ['fa-triangle-exclamation'],
64+
approach_distance: ['fa-arrows-left-right-to-line', 'text-warning'],
65+
distance: ['fa-arrows-left-right-to-line', 'text-warning'],
66+
trigger_count: ['fa-turn-up fa-flip-horizontal', 'text-info'],
67+
level_config: ['fa-gear'],
68+
station: ['fa-warehouse'],
69+
test: ['fa-check', 'text-success'],
6470
};
6571

6672
const getGenericFeatureIcon = (name: string, value: unknown): string => {

0 commit comments

Comments
 (0)