fix conflict

This commit is contained in:
Çetin
2022-01-07 16:17:00 +03:00
parent 497a529c7b
commit 21d23ec9e7
2 changed files with 10 additions and 5 deletions

View File

@@ -1,16 +1,24 @@
import { Component, OnInit } from '@angular/core';
import { Component, OnInit, OnDestroy } from '@angular/core';
@Component({
selector: 'app-landing',
templateUrl: './landing.component.html',
styleUrls: ['./landing.component.scss']
})
export class LandingComponent implements OnInit {
themeElement: any;
constructor() { }
ngOnInit(): void {
let themeElement = document.getElementById('theme-css');
this.themeElement = document.getElementById('theme-css');
console.log(this.themeElement);
themeElement.setAttribute('href','assets/theme/saga-blue/theme.css');
}
ngOnDestroy(): void {
}
}