fix profile detection

This commit is contained in:
Jakob Ketterl 2021-03-21 00:18:35 +01:00
parent acee318dae
commit 5fc8672dd6

View File

@ -803,7 +803,7 @@ function on_ws_recv(evt) {
// this is a bit hacky since it only makes sense if the error is actually "no sdr devices" // this is a bit hacky since it only makes sense if the error is actually "no sdr devices"
// the only other error condition for which the overlay is used right now is "too many users" // the only other error condition for which the overlay is used right now is "too many users"
// so there shouldn't be a problem here // so there shouldn't be a problem here
if (json['value'].keys()) { if (Object.keys(json['value']).length) {
$('#openwebrx-error-overlay').hide(); $('#openwebrx-error-overlay').hide();
} }
break; break;