mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-01 06:46:24 +00:00
Rename WebSocketService sendJSON() -> send()
This commit is contained in:
@ -72,7 +72,7 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
|
||||
sendReadyIfNeeded() {
|
||||
if (config.dashboard.sendReadyAfterPageReload) {
|
||||
setTimeout(() => this.webSocketService.sendJSON({'key': 'frontend.ready'}));
|
||||
setTimeout(() => this.webSocketService.send({'key': 'frontend.ready'}));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user