File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ title: Changelog
4
4
5
5
## Unreleased
6
6
7
+ ### Bug Fixes
8
+
9
+ - Fix restoration of groups/categories including documents, #2801 .
10
+
7
11
## v0.27.4 (2024-12-09)
8
12
9
13
### Features
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export class ReflectionCategory {
76
76
const child = project . getReflectionById (
77
77
de . oldIdToNewId [ childId ] ?? - 1 ,
78
78
) ;
79
- if ( child ?. isDeclaration ( ) ) {
79
+ if ( child ?. isDeclaration ( ) || child ?. isDocument ( ) ) {
80
80
this . children . push ( child ) ;
81
81
}
82
82
}
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export class ReflectionGroup {
96
96
const child = project . getReflectionById (
97
97
de . oldIdToNewId [ childId ] ?? - 1 ,
98
98
) ;
99
- if ( child ?. isDeclaration ( ) ) {
99
+ if ( child ?. isDeclaration ( ) || child ?. isDocument ( ) ) {
100
100
this . children . push ( child ) ;
101
101
}
102
102
}
You can’t perform that action at this time.
0 commit comments