웹링크 버그 수정.

This commit is contained in:
leejinho 2020-01-03 18:05:11 +09:00
parent b01849e1bf
commit 6e76f42993

View File

@ -119,7 +119,11 @@ export class TopBarComponent implements OnInit, OnDestroy {
>(KEY_URL_INFO);
if (!!urlInfo && !!urlInfo.webLink) {
this.weblink = urlInfo.webLink;
this.weblink = urlInfo.webLink.filter(
weblink =>
urlInfo.webLinkAllowedList.filter(type => type === weblink.key)
.length > 0
);
if (urlInfo.webLinkAllowedList.indexOf(WebLinkType.Mail) > -1) {
// 메일 카운트 체크.