SSR: Fix more merge/version conflicts

This commit is contained in:
Mononaut
2024-03-20 09:57:05 +00:00
parent 50e656b259
commit 6e2f17b3d2
17 changed files with 41 additions and 40 deletions

View File

@@ -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() {