EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Ref
Yurii47a8bc489167
diff --git a/client/src/views/record/kanban.js b/client/src/views/record/kanban.jsindex d80f55ed7f..87de0b9eeb 100644--- a/client/src/views/record/kanban.js+++ b/client/src/views/record/kanban.js@@ -1311,13 +1311,15 @@ class KanbanRecordView extends ListRecordView {}}- const $item = this.$el.find('.item[data-id="' + id + '"]');- const $column = this.$el.find('.group-column[data-name="' + group + '"] .group-column-list');-- if ($column.length) {- $column.prepend($item);- } else {- $item.remove();+ const columnElement = this.element?.querySelector(`.group-column[data-name="${group}"] .group-column-list`);+ const itemElement = this.element?.querySelector(`.item[data-id="${id}"]`);++ if (itemElement) {+ if (columnElement) {+ columnElement.prepend(itemElement);+ } else {+ itemElement.remove();+ }}if (o.action && o.action !== 'sync') {