Skip to content

Commit 25065ce

Browse files
committed
quickfix: added new unit types
1 parent b9307ec commit 25065ce

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

imports/api/unit-meta-data.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,26 @@ export const unitTypes = Object.freeze([
5050
{
5151
name: 'Other'
5252
},
53+
{
54+
name: 'Other/Building'
55+
},
56+
{
57+
name: 'Other/Unit'
58+
},
59+
{
60+
name: 'Other/Room'
61+
},
5362
{
5463
name: 'Unknown'
64+
},
65+
{
66+
name: 'Unknown/Building'
67+
},
68+
{
69+
name: 'Unknown/Unit'
70+
},
71+
{
72+
name: 'Unknown/Room'
5573
}
5674
])
5775

imports/ui/unit-explorer/unit-type-icon.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ const unitTypes = [
1313
{ icon: 'business', categories: ['Office'] },
1414
{ icon: 'location_city', categories: ['Warehouse'] },
1515
{ icon: 'restaurant', categories: ['Restaurant/Cafe'] },
16-
{ icon: 'not_listed_location', categories: ['Other', 'Unknown'] }
16+
{ icon: 'not_listed_location', categories: [
17+
'Other', 'Unknown', 'Other/Building', 'Other/Unit', 'Other/Room', 'Unknown/Building', 'Unknown/Unit', 'Unknown/Room'
18+
] }
1719
]
1820

1921
const iconDict = unitTypes.reduce((all, def) => {

0 commit comments

Comments
 (0)