Use hostname as nickname by default on failure

This commit is contained in:
CenTdemeern1 2025-01-14 17:57:27 +01:00
parent 310eb0bc78
commit 7299da0645

View file

@ -51,7 +51,7 @@ export function initializeAddInstanceFlow(
throw new Error("Invalid API response");
populateInstanceDetailsDialog(name, host, secure, software, iconURL as string | null);
} catch {
populateInstanceDetailsDialog("", host, secure, "", null);
populateInstanceDetailsDialog(host, host, secure, "", null);
} finally {
showInstanceDetailsDialog();
}