diff --git a/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.html b/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.html index efd930fe..58845ac4 100644 --- a/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.html +++ b/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.html @@ -291,7 +291,7 @@

{{title}}

Hay cambios sin guardar... - diff --git a/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.ts b/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.ts index 275c860b..56f2e9ae 100644 --- a/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.ts +++ b/eda/eda_app/src/app/module/pages/dashboard/dashboard.component.ts @@ -86,7 +86,7 @@ export class DashboardComponent implements OnInit, AfterViewInit, OnDestroy { edit_mode: true, //editable dashboard anonimous_mode: false, notSaved: false, - dashboardOptions: true // dashboard config options (rudeta) + hideWheel: false // dashboard config options (mostrar la rodeta o no) }; //Date filter ranges Dropdown @@ -504,7 +504,15 @@ export class DashboardComponent implements OnInit, AfterViewInit, OnDestroy { private getUrlParams(): void { this.route.queryParams.subscribe(params => { this.queryParams = params; - this.display_v.dashboardOptions = params['nowheel'] ? false : true; + try{ + if(params['hideWheel'] == 'true'){ + this.display_v.hideWheel =true; + } + }catch(e){ + } + + console.log(params); + console.log(this.display_v); }); }