made streamline further up the whitelabel list so it doesn't default to agriculture by accident
This commit is contained in:
parent
8a0c9491c8
commit
af518b58a8
2 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ function App() {
|
||||||
const [token, setToken] = useState<string | undefined>(undefined)
|
const [token, setToken] = useState<string | undefined>(undefined)
|
||||||
|
|
||||||
const whiteLabel = getWhitelabel()
|
const whiteLabel = getWhitelabel()
|
||||||
|
console.log("Whitelabel Name: "+whiteLabel.name)
|
||||||
const manifestPath = "/" + whiteLabel.name.replace(/\s/g, "") + "/manifest.json"
|
const manifestPath = "/" + whiteLabel.name.replace(/\s/g, "") + "/manifest.json"
|
||||||
const manifestDocument = document.getElementById('manifest-link') as HTMLLinkElement
|
const manifestDocument = document.getElementById('manifest-link') as HTMLLinkElement
|
||||||
fetch(manifestPath).then(response => {
|
fetch(manifestPath).then(response => {
|
||||||
|
|
|
||||||
|
|
@ -276,9 +276,9 @@ export function IsOmniAir(): boolean {
|
||||||
}
|
}
|
||||||
|
|
||||||
const whitelabels = new Map<string, WhiteLabel>([
|
const whitelabels = new Map<string, WhiteLabel>([
|
||||||
|
["streamline", STREAMLINE_WHITE_LABEL],
|
||||||
["adaptiveag", ADAPTIVE_AGRICULTURE_WHITE_LABEL],
|
["adaptiveag", ADAPTIVE_AGRICULTURE_WHITE_LABEL],
|
||||||
["adaptiveagriculture", ADAPTIVE_AGRICULTURE_WHITE_LABEL],
|
["adaptiveagriculture", ADAPTIVE_AGRICULTURE_WHITE_LABEL],
|
||||||
["streamline", STREAMLINE_WHITE_LABEL],
|
|
||||||
["brandxducks", BXT_WHITE_LABEL],
|
["brandxducks", BXT_WHITE_LABEL],
|
||||||
["brandxtech", BXT_WHITE_LABEL],
|
["brandxtech", BXT_WHITE_LABEL],
|
||||||
["aerogrowmanufacturing", AEROGROW_WHITE_LABEL],
|
["aerogrowmanufacturing", AEROGROW_WHITE_LABEL],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue