blob: ad0d5468854695baca7d584a7f7051a5a8150346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import { Component, OnInit } from '@angular/core';
import _ from 'lodash';
import { Observable } from 'rxjs';
import { CustomLoginBannerService } from '~/app/shared/api/custom-login-banner.service';
@Component({
selector: 'cd-custom-login-banner',
templateUrl: './custom-login-banner.component.html',
styleUrls: ['./custom-login-banner.component.scss']
})
export class CustomLoginBannerComponent implements OnInit {
bannerText$: Observable<string>;
constructor(private customLoginBannerService: CustomLoginBannerService) {}
ngOnInit(): void {
this.bannerText$ = this.customLoginBannerService.getBannerText();
}
}
|