viewModeIconClassMap
This commit is contained in:
@@ -112,6 +112,11 @@ class SearchView extends View {
|
||||
this.filtersLayoutName = this.options.filtersLayoutName || this.filtersLayoutName;
|
||||
this.primaryFiltersDisabled = this.options.primaryFiltersDisabled || this.primaryFiltersDisabled;
|
||||
|
||||
this.viewModeIconClassMap = {
|
||||
...this.viewModeIconClassMap,
|
||||
...this.getMetadata().get(`clientDefs.${this.scope}.viewModeIconClassMap`),
|
||||
};
|
||||
|
||||
/** @type {module:search-manager} */
|
||||
this.searchManager = this.options.searchManager;
|
||||
|
||||
|
||||
@@ -80,6 +80,13 @@
|
||||
},
|
||||
"description": "A list view mode list."
|
||||
},
|
||||
"viewModeIconClassMap": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "View mode icon classes. mode => class map."
|
||||
},
|
||||
"saveErrorHandlers": {
|
||||
"description": "Save error handlers. https://docs.espocrm.com/development/frontend/save-error-handlers/",
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user