mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-05-13 23:43:12 +00:00
harmony staging
This commit is contained in:
@@ -5,5 +5,12 @@
|
||||
"image": "https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/branding/png/Spacebar__Icon-Discord.png",
|
||||
"url": "https://spacebar.chat",
|
||||
"display":false
|
||||
},
|
||||
{
|
||||
"name": "Harmony Staging",
|
||||
"description": "A staging instance for Harmony",
|
||||
"image": "https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/branding/png/Spacebar__Icon-Discord.png",
|
||||
"url": "https://stg-api.harmony.melodychat.org/",
|
||||
"display":true
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1005,7 +1005,7 @@ class InstancePicker implements OptionsElement<InstanceInfo | null> {
|
||||
|
||||
for (const instance of json) {
|
||||
const option = document.createElement("option");
|
||||
option.disabled = !instance.online;
|
||||
option.disabled = instance.online === false;
|
||||
option.value = instance.name;
|
||||
if (instance.url) {
|
||||
stringURLMap.set(option.value, instance.url);
|
||||
|
||||
Reference in New Issue
Block a user