From af518b58a86c60f879050e5b7d7f4fcf269ee435 Mon Sep 17 00:00:00 2001 From: Carter Date: Wed, 11 Jun 2025 14:35:30 -0600 Subject: [PATCH] made streamline further up the whitelabel list so it doesn't default to agriculture by accident --- src/app/App.tsx | 1 + src/services/whiteLabel.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 16bb781..03a9c70 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -12,6 +12,7 @@ function App() { const [token, setToken] = useState(undefined) const whiteLabel = getWhitelabel() + console.log("Whitelabel Name: "+whiteLabel.name) const manifestPath = "/" + whiteLabel.name.replace(/\s/g, "") + "/manifest.json" const manifestDocument = document.getElementById('manifest-link') as HTMLLinkElement fetch(manifestPath).then(response => { diff --git a/src/services/whiteLabel.ts b/src/services/whiteLabel.ts index ff45995..27b53a8 100644 --- a/src/services/whiteLabel.ts +++ b/src/services/whiteLabel.ts @@ -276,9 +276,9 @@ export function IsOmniAir(): boolean { } const whitelabels = new Map([ + ["streamline", STREAMLINE_WHITE_LABEL], ["adaptiveag", ADAPTIVE_AGRICULTURE_WHITE_LABEL], ["adaptiveagriculture", ADAPTIVE_AGRICULTURE_WHITE_LABEL], - ["streamline", STREAMLINE_WHITE_LABEL], ["brandxducks", BXT_WHITE_LABEL], ["brandxtech", BXT_WHITE_LABEL], ["aerogrowmanufacturing", AEROGROW_WHITE_LABEL],