[pluginsFunctionality | DONE | ADDED] read parameter and save property forceCacheReload

This commit is contained in:
argirok 2024-03-27 09:29:59 +02:00
parent 8456115eb1
commit e0bd40c485
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ export class AppComponent implements OnInit, OnDestroy {
ngOnInit() {
this.subscriptions.push(this.route.queryParams.subscribe(data => {
this.previewLayout = (data['previewLayout'] && data['previewLayout'].length > 0 ? data['previewLayout'] : null);
this.properties.forceCacheReload = (data['forceCacheReload'] ? true : false);
if (this.properties.environment == "production" || this.properties.environment == "development") {
this._meta.updateTag({content: 'all', name: 'robots'});
this.seoService.removeLinkForPrevURL();