diff --git a/client/src/views/record/detail-bottom.js b/client/src/views/record/detail-bottom.js index e6b9136f28..7d1ead54cf 100644 --- a/client/src/views/record/detail-bottom.js +++ b/client/src/views/record/detail-bottom.js @@ -202,6 +202,11 @@ Espo.define('views/record/detail-bottom', 'view', function (Dep) { }, setup: function () { + this.type = this.mode; + if ('type' in this.options) { + this.type = this.options.type; + } + this.panelList = []; this.setupPanels();