File tree 4 files changed +22
-2
lines changed
4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="padding-15 ">
2
2
< div class ="row ">
3
3
< div class ="col-sm-12 ">
4
- < h4 > Tree List Component Example</ h4 >
4
+ < h4 > Tree List Component Example (deprecated) </ h4 >
5
5
< hr />
6
6
</ div >
7
7
</ div >
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ import { ListConfigBase } from '../list-config-base';
2
2
3
3
/**
4
4
* A config containing properties for tree list
5
+ *
6
+ * @deprecated The tree-list component is deprecated due to issues with Angular 6 and mobx autorun,
7
+ * introduced by angular-tree-component.
8
+ *
9
+ * See: https://github.com/patternfly/patternfly-ng/issues/381
5
10
*/
6
11
export class TreeListConfig extends ListConfigBase {
7
12
/**
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ import { TreeListConfig } from './tree-list-config';
34
34
*
35
35
* Or:
36
36
* <br/><code>import { TreeListModule } from 'patternfly-ng';</code>
37
+ *
38
+ * @deprecated The tree-list component is deprecated due to issues with Angular 6 and mobx autorun,
39
+ * introduced by angular-tree-component.
40
+ *
41
+ * See: https://github.com/patternfly/patternfly-ng/issues/381
37
42
*/
38
43
@Component ( {
39
44
encapsulation : ViewEncapsulation . None ,
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ import { TreeListComponent } from './tree-list.component';
9
9
10
10
/**
11
11
* A module containing objects associated with tree list components
12
+ *
13
+ * @deprecated The tree-list component is deprecated due to issues with Angular 6 and mobx autorun,
14
+ * introduced by angular-tree-component.
15
+ *
16
+ * See: https://github.com/patternfly/patternfly-ng/issues/381
12
17
*/
13
18
@NgModule ( {
14
19
imports : [
@@ -20,4 +25,9 @@ import { TreeListComponent } from './tree-list.component';
20
25
declarations : [ TreeListComponent ] ,
21
26
exports : [ TreeListComponent ]
22
27
} )
23
- export class TreeListModule { }
28
+ export class TreeListModule {
29
+ constructor ( ) {
30
+ console . log ( 'patternfly-ng: The tree-list component is deprecated due to issues with Angular 6 and ' +
31
+ 'mobx autorun, introduced by angular-tree-component.' ) ;
32
+ }
33
+ }
You can’t perform that action at this time.
0 commit comments