Commit 7740e3b857425e868b77ba70152e1146006d9f6f

Authored by Igor Kulikov
1 parent 5ed505d2

Open new dashboard state instead of separate dialog in mobile app mode

... ... @@ -1026,7 +1026,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI
1026 1026 const params = deepClone(this.widgetContext.stateController.getStateParams());
1027 1027 this.updateEntityParams(params, targetEntityParamName, targetEntityId, entityName, entityLabel);
1028 1028 if (type === WidgetActionType.openDashboardState) {
1029   - if (descriptor.openInSeparateDialog) {
  1029 + if (descriptor.openInSeparateDialog && !this.mobileService.isMobileApp()) {
1030 1030 this.openDashboardStateInSeparateDialog(descriptor.targetDashboardStateId, params, descriptor.dialogTitle,
1031 1031 descriptor.dialogHideDashboardToolbar, descriptor.dialogWidth, descriptor.dialogHeight);
1032 1032 } else {
... ...