fix: use Web.BU.requestPort explicitly for Add Device button to support WebSocket mode
This commit is contained in:
@@ -180,7 +180,7 @@ goog.loadJs('common', () => {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
callback: () => BU.requestPort().catch(Debug.error),
|
callback: () => Web.BU.requestPort().catch(Debug.error),
|
||||||
scopeType: Nav.Scope.LEFT,
|
scopeType: Nav.Scope.LEFT,
|
||||||
weight: 3
|
weight: 3
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user