We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9729225 commit 765b859Copy full SHA for 765b859
1 file changed
packages/uhk-web/src/app/store/effects/device.ts
@@ -116,8 +116,12 @@ export class DeviceEffects {
116
checkAreHostConnectionsPaired$ = createEffect(() => this.actions$
117
.pipe(
118
ofType(ActionTypes.CheckAreHostConnectionsPaired, DongleActions.DonglePairingSuccess),
119
- withLatestFrom(this.store.select(getHostConnections)),
120
- tap(([_, hostConnections]) => {
+ withLatestFrom(this.store.select(getConnectedDevice), this.store.select(getHostConnections)),
+ tap(([_, connectedDevice, hostConnections]) => {
121
+ if (connectedDevice?.id !== UHK_80_DEVICE.id) {
122
+ return
123
+ }
124
+
125
const addresses = [];
126
for (const hostConnection of hostConnections) {
127
if (hostConnection.hasAddress()) {
0 commit comments