UI: Add readonly query parameter to dashboard page
This commit is contained in:
parent
43dc8dd3e8
commit
3a87c3f39b
@ -466,7 +466,8 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
|
||||
this.singlePageMode = data.singlePageMode;
|
||||
|
||||
this.readonly = this.embedded || (this.singlePageMode && !this.widgetEditMode && !this.route.snapshot.queryParamMap.get('edit'))
|
||||
|| this.forceFullscreen || this.isMobileApp || this.authUser.authority === Authority.CUSTOMER_USER;
|
||||
|| this.forceFullscreen || this.isMobileApp || this.authUser.authority === Authority.CUSTOMER_USER ||
|
||||
this.route.snapshot.queryParamMap.get('readonly') === 'true';
|
||||
|
||||
this.dashboardCtx.aliasController = this.parentAliasController ? this.parentAliasController : new AliasController(this.utils,
|
||||
this.entityService,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user