Open new dashboard state instead of separate dialog in mobile app mode
This commit is contained in:
parent
5ed505d271
commit
7740e3b857
@ -1026,7 +1026,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI
|
|||||||
const params = deepClone(this.widgetContext.stateController.getStateParams());
|
const params = deepClone(this.widgetContext.stateController.getStateParams());
|
||||||
this.updateEntityParams(params, targetEntityParamName, targetEntityId, entityName, entityLabel);
|
this.updateEntityParams(params, targetEntityParamName, targetEntityId, entityName, entityLabel);
|
||||||
if (type === WidgetActionType.openDashboardState) {
|
if (type === WidgetActionType.openDashboardState) {
|
||||||
if (descriptor.openInSeparateDialog) {
|
if (descriptor.openInSeparateDialog && !this.mobileService.isMobileApp()) {
|
||||||
this.openDashboardStateInSeparateDialog(descriptor.targetDashboardStateId, params, descriptor.dialogTitle,
|
this.openDashboardStateInSeparateDialog(descriptor.targetDashboardStateId, params, descriptor.dialogTitle,
|
||||||
descriptor.dialogHideDashboardToolbar, descriptor.dialogWidth, descriptor.dialogHeight);
|
descriptor.dialogHideDashboardToolbar, descriptor.dialogWidth, descriptor.dialogHeight);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user