We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d87bf commit 9aa0cbbCopy full SHA for 9aa0cbb
web/serverless-microservices-web/src/components/SignalRTrips.vue
@@ -21,6 +21,9 @@ export default {
21
},
22
watch: {
23
user(val, old) {
24
+ // We watch for the username to change due to logging in or out.
25
+ // If the username was previously null, but now isn't, then we
26
+ // connect to SignalR Service.
27
if (old === null && val !== null) {
28
this.connectToSignalR();
29
}
0 commit comments