pds-dev-kit-web 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -65,8 +65,17 @@ function getInternalLink(basePath, url) {
|
|
|
65
65
|
return { internalPath: basePath + splitPath + search, pAppCode: pAppCode, pathname: pathname, search: search };
|
|
66
66
|
}
|
|
67
67
|
function getSearchExceptGivenName(search, name) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
if (!search) {
|
|
69
|
+
return '';
|
|
70
|
+
}
|
|
71
|
+
try {
|
|
72
|
+
var params = new URLSearchParams(search);
|
|
73
|
+
params.delete(name);
|
|
74
|
+
return "?" + params.toString();
|
|
75
|
+
}
|
|
76
|
+
catch (err) {
|
|
77
|
+
console.error(err);
|
|
78
|
+
return '';
|
|
79
|
+
}
|
|
71
80
|
}
|
|
72
81
|
exports.default = InternalLinkMenuItemNav;
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
-
## [v1.5.
|
|
2
|
+
## [v1.5.5]
|
|
3
3
|
|
|
4
4
|
### Component
|
|
5
5
|
* DynamicDesktopNavBar
|
|
6
|
-
* 내부링크 유형을 사용할때
|
|
7
|
-
|
|
8
|
-
### Color
|
|
9
|
-
* 컬러 키 값 22.11.01 17시 30분 기준 싱크
|
|
6
|
+
* 내부링크 유형을 사용할때 urlSearchParams가 없는경우 대응
|
|
7
|
+
* urlSearchParams의 에러핸들링 (에러의 경우 console.error 및 search를 ''(빈 스트링)으로 판단
|