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