Use hostname as nickname by default on failure
This commit is contained in:
parent
310eb0bc78
commit
7299da0645
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export function initializeAddInstanceFlow(
|
||||||
throw new Error("Invalid API response");
|
throw new Error("Invalid API response");
|
||||||
populateInstanceDetailsDialog(name, host, secure, software, iconURL as string | null);
|
populateInstanceDetailsDialog(name, host, secure, software, iconURL as string | null);
|
||||||
} catch {
|
} catch {
|
||||||
populateInstanceDetailsDialog("", host, secure, "", null);
|
populateInstanceDetailsDialog(host, host, secure, "", null);
|
||||||
} finally {
|
} finally {
|
||||||
showInstanceDetailsDialog();
|
showInstanceDetailsDialog();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue