From 066751a698cbc388bfd754569eaf6087ef84f427 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 8 Nov 2023 20:05:15 +0200 Subject: [PATCH] disable list settings for non-object entity types --- client/src/views/record/list.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js index f00ab1471b..d3a1b16886 100644 --- a/client/src/views/record/list.js +++ b/client/src/views/record/list.js @@ -3386,6 +3386,10 @@ class ListRecordView extends View { return; } + if (!this.getMetadata().get(`scopes.${this.entityType}.object`)) { + return; + } + this._listSettingsHelper = new ListSettingsHelper( this.entityType, this.layoutName,