File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -169,12 +169,12 @@ func writeDocs(sections [][]byte) error {
169
169
170
170
// Update manifest.json
171
171
type route struct {
172
- Title string `json:"title,omitempty"`
173
- Description string `json:"description,omitempty"`
174
- Path string `json:"path,omitempty"`
175
- IconPath string `json:"icon_path,omitempty"`
176
- State string `json:"state,omitempty"`
177
- Children []route `json:"children,omitempty"`
172
+ Title string `json:"title,omitempty"`
173
+ Description string `json:"description,omitempty"`
174
+ Path string `json:"path,omitempty"`
175
+ IconPath string `json:"icon_path,omitempty"`
176
+ State [] string `json:"state,omitempty"`
177
+ Children []route `json:"children,omitempty"`
178
178
}
179
179
180
180
type manifest struct {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ type route struct {
18
18
Description string `json:"description,omitempty"`
19
19
Path string `json:"path,omitempty"`
20
20
IconPath string `json:"icon_path,omitempty"`
21
- State []string `json:"state,omitempty"` // Changed to []string to support an array of states
21
+ State []string `json:"state,omitempty"`
22
22
Children []route `json:"children,omitempty"`
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments