From a71df0cff6641c8a897c216e8fed913a6c71275f Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 20 Nov 2020 09:52:54 +0200 Subject: [PATCH] fix layout --- client/src/views/admin/layouts/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/src/views/admin/layouts/index.js b/client/src/views/admin/layouts/index.js index c0a7c7103b..541d8e409e 100644 --- a/client/src/views/admin/layouts/index.js +++ b/client/src/views/admin/layouts/index.js @@ -219,7 +219,13 @@ define('views/admin/layouts/index', 'view', function (Dep) { }, navigate: function (scope, type) { - this.getRouter().navigate('#Admin/layouts/scope=' + scope + '&type=' + type, {trigger: false}); + var url = '#Admin/layouts/scope=' + scope + '&type=' + type; + + if (this.em) { + url += '&em=true'; + } + + this.getRouter().navigate(url, {trigger: false}); }, renderDefaultPage: function () {