File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
project/ws/app/src/lib/routes/home/routes/odcs-mapping Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ <h1 class="mat-heading-1">{{odcConfig?.mainHeading}}</h1>
11
11
< div class ="flex ">
12
12
< span class ="mat-body-1 font-bold-imp flex-1 "> {{odcConfig?.topsection?.heading}}</ span >
13
13
< mat-icon class ="cursor-pointer mat-icon mr-4 " *ngIf ="showTopSection "
14
- (click) ="showTopSection = !showTopSection "> keyboard_arrow_up</ mat-icon >
14
+ (click) ="showTopSection = !showTopSection; callResizeEvent($event) "> keyboard_arrow_up</ mat-icon >
15
15
< mat-icon class ="cursor-pointer mat-icon mr-4 " *ngIf ="!showTopSection "
16
- (click) ="showTopSection = !showTopSection "> keyboard_arrow_down</ mat-icon >
16
+ (click) ="showTopSection = !showTopSection; callResizeEvent($event) "> keyboard_arrow_down</ mat-icon >
17
17
</ div >
18
18
< div class ="mt-5 " *ngIf ="showTopSection ">
19
19
< div class ="flex ">
@@ -32,7 +32,7 @@ <h1 class="mat-heading-1">{{odcConfig?.mainHeading}}</h1>
32
32
</ div >
33
33
</ div >
34
34
</ mat-card >
35
- < div >
35
+ < div *ngIf =" environmentVal && environmentVal.frameworkName " >
36
36
< lib-taxonomy-view [environment] ="environmentVal " [taxonomyConfig] ="taxonomyConfig "> </ lib-taxonomy-view >
37
37
</ div >
38
38
</ div >
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ export class OdcsMappingComponent implements OnInit {
19
19
showLoader = false
20
20
loaderMsg = ''
21
21
orgId = ''
22
-
23
22
constructor (
24
23
private activateRoute : ActivatedRoute ,
25
24
private designationsService : DesignationsService ,
@@ -50,6 +49,12 @@ export class OdcsMappingComponent implements OnInit {
50
49
}
51
50
}
52
51
52
+ callResizeEvent ( _event : any ) {
53
+ setTimeout ( ( ) => {
54
+ window . dispatchEvent ( new Event ( 'resize' ) )
55
+ } , 100 )
56
+ }
57
+
53
58
createFreamwork ( ) {
54
59
this . loaderMsg = this . odcConfig . frameworkCreationMSg
55
60
const departmentName = _ . get ( this . configSvc , 'userProfile.departmentName' ) . replace ( / \s / g, '' )
@@ -74,7 +79,7 @@ export class OdcsMappingComponent implements OnInit {
74
79
} else {
75
80
setTimeout ( ( ) => {
76
81
this . getOrgReadData ( )
77
- } , 10000 )
82
+ } , 10000 )
78
83
}
79
84
} )
80
85
}
You can’t perform that action at this time.
0 commit comments