1
|
import { Component, OnInit } from '@angular/core';
|
2
|
|
3
|
@Component({
|
4
|
selector: 'app-sources-register',
|
5
|
templateUrl: 'sources-register.component.html'
|
6
|
})
|
7
|
|
8
|
export class SourcesRegisterComponent implements OnInit {
|
9
|
|
10
|
constructor() {
|
11
|
}
|
12
|
|
13
|
ngOnInit() {
|
14
|
let body = document.getElementsByTagName('body')[0];
|
15
|
body.classList.remove("top_bar_active"); //remove the class
|
16
|
body.classList.remove("page_heading_active");
|
17
|
body.classList.remove("landing");
|
18
|
body.classList.add("dashboard");
|
19
|
}
|
20
|
}
|