웹링크 버그 수정.
This commit is contained in:
parent
2a992606b2
commit
8e40d81f92
|
@ -110,14 +110,14 @@ export class TopBarComponent implements OnInit, OnDestroy {
|
|||
|
||||
this.weblink = urlInfo.webLink.filter(
|
||||
weblink =>
|
||||
urlInfo.webLinkAllowedList.filter(type => type === weblink.key)
|
||||
.length > 0
|
||||
urlInfo.webLinkAllowedList
|
||||
.filter(
|
||||
type => type !== 'WebLinkMailCnt' && type !== 'WebLinkPaymentCnt'
|
||||
)
|
||||
.filter(type => type === weblink.key).length > 0
|
||||
);
|
||||
|
||||
if (
|
||||
urlInfo.webLinkAllowedList.indexOf('WebLinkMail') > -1 &&
|
||||
urlInfo.webLinkAllowedList.indexOf('WebLinkMailCnt') > -1
|
||||
) {
|
||||
if (urlInfo.webLinkAllowedList.indexOf('WebLinkMail') > -1) {
|
||||
// 메일 카운트 체크.
|
||||
const link = urlInfo.webLink.filter(
|
||||
weblink => weblink.key === 'WebLinkMailCnt'
|
||||
|
@ -149,10 +149,7 @@ export class TopBarComponent implements OnInit, OnDestroy {
|
|||
.subscribe();
|
||||
}
|
||||
}
|
||||
if (
|
||||
urlInfo.webLinkAllowedList.indexOf('WebLinkPayment') > -1 &&
|
||||
urlInfo.webLinkAllowedList.indexOf('WebLinkPaymentCnt') > -1
|
||||
) {
|
||||
if (urlInfo.webLinkAllowedList.indexOf('WebLinkPayment') > -1) {
|
||||
// 결제 카운트 체크.
|
||||
const link = urlInfo.webLink.filter(
|
||||
weblink => weblink.key === 'WebLinkPaymentCnt'
|
||||
|
|
Loading…
Reference in New Issue
Block a user