Showing
1 changed file
with
4 additions
and
4 deletions
| @@ -83,16 +83,16 @@ export struct TopNavigationComponentNew { | @@ -83,16 +83,16 @@ export struct TopNavigationComponentNew { | ||
| 83 | PeopleShipMainComponent({ | 83 | PeopleShipMainComponent({ |
| 84 | currentTopNavSelectedIndex: $currentTopNavSelectedIndex, | 84 | currentTopNavSelectedIndex: $currentTopNavSelectedIndex, |
| 85 | navIndex: index, | 85 | navIndex: index, |
| 86 | - pageId: navItem.pageId + '', | ||
| 87 | - channelId: navItem.channelId + '', | 86 | + pageId: navItem?.pageId + '', |
| 87 | + channelId: navItem?.channelId + '', | ||
| 88 | }) | 88 | }) |
| 89 | } else | 89 | } else |
| 90 | if (!this.isBroadcast(navItem) && !this.isLayout(navItem)) { | 90 | if (!this.isBroadcast(navItem) && !this.isLayout(navItem)) { |
| 91 | PageComponent({ | 91 | PageComponent({ |
| 92 | currentTopNavSelectedIndex: $currentTopNavSelectedIndex, | 92 | currentTopNavSelectedIndex: $currentTopNavSelectedIndex, |
| 93 | navIndex: index, | 93 | navIndex: index, |
| 94 | - pageId: navItem.pageId + '', | ||
| 95 | - channelId: navItem.channelId + '', | 94 | + pageId: navItem?.pageId + '', |
| 95 | + channelId: navItem?.channelId + '', | ||
| 96 | autoRefresh: this.autoRefresh2Page | 96 | autoRefresh: this.autoRefresh2Page |
| 97 | }) | 97 | }) |
| 98 | } else { | 98 | } else { |
-
Please register or login to post a comment