added the construction and aviation map stuff as well as the site api and model
This commit is contained in:
parent
02cee8623a
commit
bcacf761c8
20 changed files with 2549 additions and 9 deletions
|
|
@ -172,7 +172,7 @@ export default function Device(props: Props) {
|
|||
}, [load]);
|
||||
|
||||
const getOrderedComponents = () => {
|
||||
if (preferences.childDisplayOrder.length === Array.from(components.values()).length) {
|
||||
if (preferences.childDisplayOrder && preferences.childDisplayOrder.length === Array.from(components.values()).length) {
|
||||
return Array.from(components.values()).sort((a, b: Component) =>
|
||||
sortComponents(a, b, preferences.childDisplayOrder)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue