From fea76814e46991a183f1e5f8c251c688a848cd88 Mon Sep 17 00:00:00 2001 From: Chase Porter Date: Tue, 15 Oct 2024 12:42:04 -0700 Subject: [PATCH] Fixes mobile with lidar changes --- fdds/js/components/CatalogMenu/catalogMenu.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fdds/js/components/CatalogMenu/catalogMenu.js b/fdds/js/components/CatalogMenu/catalogMenu.js index 32bd5f1..b723431 100644 --- a/fdds/js/components/CatalogMenu/catalogMenu.js +++ b/fdds/js/components/CatalogMenu/catalogMenu.js @@ -54,7 +54,8 @@ export class CatalogMenu extends HTMLElement {
Fires
@@ -328,15 +329,19 @@ export class CatalogMenu extends HTMLElement { const firesListDOM = this.querySelector('#fires-column'); const fuelMoistureListDOM = this.querySelector('#fuel-moisture-column'); const lidarProfilesDOM = this.querySelector('#lidar-profiles'); + const nfmdbLinksDOM = this.querySelector('#nfmdb-links'); firesListDOM.classList.add('hidden'); fuelMoistureListDOM.classList.add('hidden'); lidarProfilesDOM.classList.add('hidden'); + nfmdbLinksDOM.classList.add('hidden'); if (selection == 'Fires') { firesListDOM.classList.remove('hidden'); } else if (selection == 'Fuel Moisture') { fuelMoistureListDOM.classList.remove('hidden'); - } else { + } else if (selection == 'Lidar Data') { lidarProfilesDOM.classList.remove('hidden'); + } else { + nfmdbLinksDOM.classList.remove('hidden'); } } } -- 2.11.4.GIT