Update content_index.js (#1360)

This commit is contained in:
LordGrey 2021-10-20 21:21:25 +02:00 committed by GitHub
parent 8b1267d059
commit e51a42dc14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -208,7 +208,10 @@ $(document).ready(function () {
removeStorage("loginToken", true);
requestRequiresAdminAuth();
}
else {
else if (event.reason == "Selected Hyperion instance isn't running") {
//Switch to default instance
instanceSwitch(0);
} else {
showInfoDialog("error", "Error", event.reason);
}
});