pds-dev-kit-web 1.4.11 → 1.4.12

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.
@@ -37,12 +37,12 @@ function PAppMenuItemNav(_a) {
37
37
  return (activeMatch === null || activeMatch === void 0 ? void 0 : activeMatch.params.activeKey) === menu.pAppCode;
38
38
  }, [menu, match, activeMatch]);
39
39
  if (showMenuAsIcon) {
40
- if (menu.iconName) {
41
- return react_1.default.createElement(IconNav_1.default, { to: basePath + "/" + menu.pAppCode, iconName: menu.iconName });
42
- }
43
40
  if (menu.iconSrc) {
44
41
  return (react_1.default.createElement(ImageIconNav_1.default, { to: basePath + "/" + menu.pAppCode, iconSrc: menu.iconSrc, openNewTab: false }));
45
42
  }
43
+ if (menu.iconName) {
44
+ return react_1.default.createElement(IconNav_1.default, { to: basePath + "/" + menu.pAppCode, iconName: menu.iconName });
45
+ }
46
46
  }
47
47
  return isContextMenu ? (react_1.default.createElement(Navigations_1.ContextTextLabelNav, { isActive: isActive, preventLineChange: true, openNewTab: false, to: basePath + "/" + menu.pAppCode, text: menu.name })) : (react_1.default.createElement(Navigations_1.TextLabelNav, { isActive: isActive, preventLineChange: true, openNewTab: false, to: basePath + "/" + menu.pAppCode, text: menu.name }));
48
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v1.4.11]
2
+ ## [v1.4.12]
3
3
 
4
4
  ### Component
5
5
  * DynamicDesktopNavBar
6
- * 내부에 있던 browserRouter 제거(컴포넌트 사용시에 각자 넣어서 사용하도록)
6
+ * pAppMenuItemNav내부에서 쓰이는 iconNav가 iconName이 아닌 src를 우선적으로 사용하도록 수정