[feature] show proper viewer

This commit is contained in:
Janis
2023-06-25 21:48:14 +02:00
parent ff3cd783d5
commit cf7d0301d2
5 changed files with 89 additions and 50 deletions

View File

@@ -434,7 +434,10 @@ class TS5MessageHandler {
}
handleClientSelfPropertyUpdatedMessage(data: IClientSelfPropertyUpdatedMessage) {
console.log("handleClientSelfPropertyUpdated", data);
this.setActiveConnectionId(data.payload.connectionId);
if (data.payload.flag == "inputHardware") { // sadly thats the only way to detect if a server is active or not
this.setActiveConnectionId(data.payload.connectionId);
}
}
handleServerPropertiesUpdatedMessage(data: IServerPropertiesUpdatedMessage) {