bug fixed

This commit is contained in:
richard-loafle 2020-04-16 14:49:11 +09:00
parent 8a53e00f24
commit 4562e95a20
3 changed files with 11 additions and 8 deletions

12
package-lock.json generated
View File

@ -1981,9 +1981,9 @@
"integrity": "sha512-nWev387pHxeBHtOu0EvRTVQ0/JeJL44Ew0PzQaiqHsC5mghkJ6ok7z22nk9nmuZ7lONxGJmW7CHT8X8lyviZJg=="
},
"@ucap/protocol": {
"version": "0.0.16",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol/-/protocol-0.0.16.tgz",
"integrity": "sha512-Ly99SjR550YFr9NEJ2LrJ0TvmzjDI3V7fsHyUt6ZPmwMOkVY99KA0t6CteDUa5fWbUCLoM38ZI68venAQlstUQ=="
"version": "0.0.17",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol/-/protocol-0.0.17.tgz",
"integrity": "sha512-ax3vOvVmoynxZlqtl5oNqrsbbOJJ5BQt1k9qqPuDomtXlHpYLS1eVdXPHzICaP4ysZwtcUK4Hd2xGIb2Pe8j5Q=="
},
"@ucap/protocol-authentication": {
"version": "0.0.5",
@ -2026,9 +2026,9 @@
"integrity": "sha512-IuFzc8BTGt3CegTm8DNBDa65/hDnFYaUehkv+bbXvsebUUwy8ttpIVm1yi57jl4AQCyYLqxEW0YotCxnICOARA=="
},
"@ucap/protocol-ping": {
"version": "0.0.5",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol-ping/-/protocol-ping-0.0.5.tgz",
"integrity": "sha512-lr/NZYyPL52xWnEWDq6ex6X+BdpELBn8j66/kFeoJgftLnv0zsWJh47948hbpLlrolE+wHd8Ncb1fw3bbjhCjw=="
"version": "0.0.6",
"resolved": "http://10.81.13.221:8081/nexus/repository/npm-all/@ucap/protocol-ping/-/protocol-ping-0.0.6.tgz",
"integrity": "sha512-CF3hes/Lv0syVSXfN7QkfUIEf1i9yhVaq4THlAR4Bxt+vW1LrXz+t16VDEn7ehBSh+luEKGSkkMEZAG16wu4Rw=="
},
"@ucap/protocol-query": {
"version": "0.0.5",

View File

@ -79,7 +79,7 @@
"@ucap/ng-ui-authentication": "~0.0.15",
"@ucap/ng-ui-skin-default": "~0.0.1",
"@ucap/pi": "~0.0.5",
"@ucap/protocol": "~0.0.16",
"@ucap/protocol": "~0.0.17",
"@ucap/protocol-authentication": "~0.0.5",
"@ucap/protocol-buddy": "~0.0.5",
"@ucap/protocol-event": "~0.0.5",
@ -88,7 +88,7 @@
"@ucap/protocol-info": "~0.0.5",
"@ucap/protocol-inner": "~0.0.4",
"@ucap/protocol-option": "~0.0.7",
"@ucap/protocol-ping": "~0.0.5",
"@ucap/protocol-ping": "~0.0.6",
"@ucap/protocol-query": "~0.0.5",
"@ucap/protocol-room": "~0.0.5",
"@ucap/protocol-service": "~0.0.4",

View File

@ -149,6 +149,9 @@ export class AppService {
const initProtocol = new Promise<void>(async (resolve, reject) => {
try {
this.protocolService.connected$.subscribe((connected) => {
if (undefined === connected) {
return;
}
if (connected) {
this.appAuthenticationService
.createSession()