From 1d1400da462c9a12b651f9c60c737f55073c14dd Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 10 Mar 2020 10:59:06 +0900 Subject: [PATCH] =?UTF-8?q?ERP=20Weblink=20=EC=B6=94=EA=B0=80.=20=EB=B0=8F?= =?UTF-8?q?=20=EC=BD=94=EB=81=BC=EB=A6=AC=20=EB=94=94=EC=9E=90=EC=9D=B8=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/apis/url-info.ts | 8 ++++++++ .../native/components/top-bar.component.html | 14 +++++++++----- .../native/components/top-bar.component.scss | 5 ++--- .../layouts/native/components/top-bar.component.ts | 9 ++++++++- .../src/lib/services/daesang-cipher.service.ts | 2 +- .../src/lib/types/web-link.type.ts | 4 +++- .../src/lib/components/profile.component.html | 6 +++--- .../src/lib/components/profile.component.scss | 2 +- 8 files changed, 35 insertions(+), 15 deletions(-) diff --git a/projects/ucap-webmessenger-api-external/src/lib/apis/url-info.ts b/projects/ucap-webmessenger-api-external/src/lib/apis/url-info.ts index a3abbff9..67153720 100644 --- a/projects/ucap-webmessenger-api-external/src/lib/apis/url-info.ts +++ b/projects/ucap-webmessenger-api-external/src/lib/apis/url-info.ts @@ -192,6 +192,14 @@ export const decodeUrlInfoDaesang: APIDecoder = ( url: arr.length > 1 ? arr[1] : arr[0] }); } + if (!!res.WebLinkERP) { + const arr = res.WebLinkERP.split(','); + webLink.push({ + key: WebLinkType.Erp, + title: arr.length > 1 ? arr[0] : '', + url: arr.length > 1 ? arr[1] : arr[0] + }); + } return { statusCode: res.StatusCode, diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html index fe737ad3..e31bd72f 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html @@ -101,6 +101,15 @@ > NEWS + - - - + -->