Revision 60928
Added by Konstantinos Triantafyllou almost 3 years ago
app.component.ts | ||
---|---|---|
11 | 11 |
import {CommunityInfo} from "./openaireLibrary/connect/community/communityInfo"; |
12 | 12 |
import {CommunityService} from "./openaireLibrary/connect/community/community.service"; |
13 | 13 |
import {arrow_left} from "./openaireLibrary/utils/icons/icons"; |
14 |
import {SmoothScroll} from "./openaireLibrary/utils/smooth-scroll"; |
|
14 | 15 |
|
15 | 16 |
@Component({ |
16 | 17 |
selector: 'app', |
... | ... | |
53 | 54 |
private communityService: CommunityService, |
54 | 55 |
private router: Router, |
55 | 56 |
private cdr: ChangeDetectorRef, |
57 |
private smoothScroll: SmoothScroll, |
|
56 | 58 |
private layoutService: LayoutService, |
57 | 59 |
private userManagementService: UserManagementService) { |
58 | 60 |
this.subscriptions.push(this.router.events.subscribe(event => { |
... | ... | |
154 | 156 |
this.communityService.clearSubscriptions(); |
155 | 157 |
this.userManagementService.clearSubscriptions(); |
156 | 158 |
this.layoutService.clearSubscriptions(); |
159 |
this.smoothScroll.clearSubscriptions(); |
|
157 | 160 |
} |
158 | 161 |
|
159 | 162 |
public get open() { |
Also available in: Unified diff
[Admin | New UI]: Fix tabs on manage communities to fit with new smooth scroll service