mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-11 02:44:20 +01:00
calendar component fix per new styles
This commit is contained in:
parent
a8363d02b8
commit
5fa1b335c6
3 changed files with 11 additions and 9 deletions
|
|
@ -14,7 +14,7 @@ export class BaCardBlur {
|
|||
|
||||
private _bodyBgSize:BgMetrics;
|
||||
|
||||
constructor(private _baThemeConfigProvider:BaThemeConfigProvider, private _baCardBlurHelper:BaCardBlurHelper, private _el:ElementRef) {
|
||||
constructor(private _baConfig:BaThemeConfigProvider, private _baCardBlurHelper:BaCardBlurHelper, private _el:ElementRef) {
|
||||
if (this._isEnabled()) {
|
||||
this._getBodyImageSizesOnBgLoad();
|
||||
this._recalculateCardStylesOnBgLoad();
|
||||
|
|
@ -52,6 +52,6 @@ export class BaCardBlur {
|
|||
}
|
||||
|
||||
private _isEnabled() {
|
||||
return this._baThemeConfigProvider.get().theme.blur;
|
||||
return this._baConfig.get().theme.blur;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue