File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,14 @@ childGroups:
100
100
- repositories
101
101
- pull-requests
102
102
- discussions
103
+ - name : GitHub Copilot
104
+ octicon : CopilotIcon
105
+ children :
103
106
- copilot
107
+ - copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot
108
+ - copilot/using-github-copilot/prompt-engineering-for-github-copilot
109
+ - copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom
110
+ - copilot/using-github-copilot/example-use-cases/refactoring-code-with-github-copilot
104
111
- name : CI/CD and DevOps
105
112
octicon : GearIcon
106
113
children :
@@ -128,21 +135,22 @@ childGroups:
128
135
- issues
129
136
- issues/planning-and-tracking-with-projects
130
137
- search-github
138
+ - name : Enterprise and Teams
139
+ octicon : OrganizationIcon
140
+ children :
141
+ - organizations
142
+ - code-security/securing-your-organization
143
+ - admin
144
+ - gh-wa
131
145
- name : Developers
132
146
octicon : CodeSquareIcon
133
147
children :
134
148
- apps
135
149
- rest
136
150
- graphql
137
151
- webhooks
152
+ - copilot/building-copilot-extensions
138
153
- github-models
139
- - name : Enterprise and Teams
140
- octicon : OrganizationIcon
141
- children :
142
- - organizations
143
- - code-security/securing-your-organization
144
- - admin
145
- - gh-wa
146
154
- name : Community
147
155
octicon : GlobeIcon
148
156
children :
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ type ProductSelectionCardProps = {
10
10
}
11
11
12
12
export const ProductSelectionCard = ( { group } : ProductSelectionCardProps ) => {
13
+ // Don't display the group if it has no children due to versioning
14
+ if ( ! group . children || group . children . length === 0 ) {
15
+ return null
16
+ }
17
+
13
18
const groupIcon = {
14
19
height : '22px' ,
15
20
}
You can’t perform that action at this time.
0 commit comments