added the construction and aviation map stuff as well as the site api and model

This commit is contained in:
csawatzky 2025-03-31 16:24:44 -06:00
parent 02cee8623a
commit bcacf761c8
20 changed files with 2549 additions and 9 deletions

View file

@ -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)
);