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

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);
}
});