SSR: Fix more merge/version conflicts
This commit is contained in:
@@ -17,7 +17,6 @@ import { seoDescriptionNetwork } from '../../shared/common.utils';
|
||||
import { PriceService, Price } from '../../services/price.service';
|
||||
import { CacheService } from '../../services/cache.service';
|
||||
import { ServicesApiServices } from '../../services/services-api.service';
|
||||
import { isPlatformServer } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-block',
|
||||
@@ -112,7 +111,7 @@ export class BlockComponent implements OnInit, OnDestroy {
|
||||
private cd: ChangeDetectorRef,
|
||||
@Inject(PLATFORM_ID) private platformId: Object,
|
||||
) {
|
||||
this.webGlEnabled = isPlatformServer(this.platformId) || detectWebGL();
|
||||
this.webGlEnabled = this.stateService.isBrowser && detectWebGL();
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user