From 26889f6cebabfaa9d9e7a833b95a45a67df44f6a Mon Sep 17 00:00:00 2001 From: Richard Park Date: Thu, 26 Dec 2019 19:08:06 +0900 Subject: [PATCH 1/2] build scripts are added --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 14a0eae2..078d38a4 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,9 @@ "run:daesang:renderer": "cross-env UCAP_ENV_RUNTIME=ELECTRON ng serve -c renderer-daesang-production", "electron:local": "electron .", "electron:windows": "npm run build && electron-builder build --windows", - "electron:windows:daesang": "npm run build:daesang && electron-builder build --windows", + "electron:windows:daesang": "npm run build:daesang && electron-builder build --windows --x64 --ia32", + "electron:windows:daesang:x64": "npm run build:daesang && electron-builder build --windows --x64", + "electron:windows:daesang:ia32": "npm run build:daesang && electron-builder build --windows --ia32", "electron:mac": "npm run build && electron-builder build --mac", "electron:linux": "npm run build && electron-builder build --linux", "test": "ng test", From 6342bf0f64bb0f4f258a1f7d4b0bb627f29dab54 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Fri, 27 Dec 2019 14:22:06 +0900 Subject: [PATCH 2/2] bug fixed --- .../src/app/store/messenger/message/effects.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/store/messenger/message/effects.ts b/projects/ucap-webmessenger-app/src/app/store/messenger/message/effects.ts index d273c4c5..7dbe4bfe 100644 --- a/projects/ucap-webmessenger-app/src/app/store/messenger/message/effects.ts +++ b/projects/ucap-webmessenger-app/src/app/store/messenger/message/effects.ts @@ -58,13 +58,6 @@ import { export class Effects { retrieveMessage$ = createEffect( () => { - // const loginResInfo: LoginResponse = this.sessionStorageService.get< - // LoginResponse - // >(KEY_LOGIN_RES_INFO); - const environmentsInfo = this.sessionStorageService.get( - KEY_ENVIRONMENTS_INFO - ); - return this.actions$.pipe( ofType(retrieveMessage), withLatestFrom( @@ -76,6 +69,13 @@ export class Effects { ) ), switchMap(([req, loginResInfo]) => { + // const loginResInfo: LoginResponse = this.sessionStorageService.get< + // LoginResponse + // >(KEY_LOGIN_RES_INFO); + const environmentsInfo = this.sessionStorageService.get< + EnvironmentsInfo + >(KEY_ENVIRONMENTS_INFO); + const request: RetrieveRequest = { userSeq: loginResInfo.userSeq, deviceType: environmentsInfo.deviceType,