From f83d0a34c3af3eb8d65d5d3cba204e2dc30f5597 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 24 Aug 2022 10:38:31 +0300 Subject: [PATCH] fix --- client/src/views/record/kanban.js | 4 ++++ client/src/views/record/list.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/client/src/views/record/kanban.js b/client/src/views/record/kanban.js index a822e77c23..6682bee30b 100644 --- a/client/src/views/record/kanban.js +++ b/client/src/views/record/kanban.js @@ -144,6 +144,10 @@ define('views/record/kanban', ['views/record/list'], function (Dep) { return; } + if (this.quickDetailDisabled) { + return; + } + let $quickView = $target.parent().closest(`[data-id="${id}"]`) .find(`ul.list-row-dropdown-menu[data-id="${id}"] a[data-action="quickView"]`); diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js index 1ef26ee46c..d8650017c9 100644 --- a/client/src/views/record/list.js +++ b/client/src/views/record/list.js @@ -482,6 +482,10 @@ function (Dep, MassActionHelper, ExportHelper) { return; } + if (this.quickDetailDisabled) { + return; + } + let $quickView = $target.parent().closest(`[data-id="${id}"]`) .find(`ul.list-row-dropdown-menu[data-id="${id}"] a[data-action="quickView"]`);