[pluginsFunctionality | DONE | ADDED] read parameter and save property forceCacheReload
This commit is contained in:
parent
8456115eb1
commit
e0bd40c485
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue