Project

General

Profile

1
/*
2
*  created by myrto
3
*/
4

    
5

    
6
import { Component, OnInit } from '@angular/core';
7

    
8
@Component({
9
  selector: 'app-sources-register',
10
  templateUrl: 'sources-register.component.html'
11
})
12

    
13
export class SourcesRegisterComponent implements OnInit {
14

    
15
  constructor() {
16
  }
17

    
18
  ngOnInit() {
19
    let body = document.getElementsByTagName('body')[0];
20
    body.classList.remove("top_bar_active");   //remove the class
21
    body.classList.remove("page_heading_active");
22
    body.classList.remove("landing");
23
    body.classList.add("dashboard");
24
  }
25
}
(2-2/10)