listViewSettingsDisabled

This commit is contained in:
Yuri Kuznetsov
2023-11-08 20:13:50 +02:00
parent 066751a698
commit ef87f02290
2 changed files with 5 additions and 1 deletions
@@ -277,5 +277,6 @@ return [
'oidcUsernameClaim' => 'sub',
'oidcFallback' => true,
'oidcScopes' => ['profile', 'email', 'phone'],
'listViewSettingsDisabled' => false,
'isInstalled' => false,
];
+4 -1
View File
@@ -3386,7 +3386,10 @@ class ListRecordView extends View {
return;
}
if (!this.getMetadata().get(`scopes.${this.entityType}.object`)) {
if (
!this.getMetadata().get(`scopes.${this.entityType}.object`) ||
this.getConfig().get('listViewSettingsDisabled')
) {
return;
}