mirror of https://github.com/apache/superset.git
[CRUD] Improving performance by disabling editing Associated Chart] (#5238)
This commit is contained in:
parent
0509d7aefd
commit
d7d5327ef7
|
@ -211,7 +211,7 @@ class DruidDatasourceModelView(DatasourceModelView, DeleteMixin, YamlExportMixin
|
|||
order_columns = ['datasource_link', 'modified']
|
||||
related_views = [DruidColumnInlineView, DruidMetricInlineView]
|
||||
edit_columns = [
|
||||
'datasource_name', 'cluster', 'slices', 'description', 'owner',
|
||||
'datasource_name', 'cluster', 'description', 'owner',
|
||||
'is_hidden',
|
||||
'filter_select_enabled', 'fetch_values_from',
|
||||
'default_endpoint', 'offset', 'cache_timeout']
|
||||
|
@ -219,7 +219,7 @@ class DruidDatasourceModelView(DatasourceModelView, DeleteMixin, YamlExportMixin
|
|||
'datasource_name', 'cluster', 'description', 'owner',
|
||||
)
|
||||
add_columns = edit_columns
|
||||
show_columns = add_columns + ['perm']
|
||||
show_columns = add_columns + ['perm', 'slices']
|
||||
page_size = 500
|
||||
base_order = ('datasource_name', 'asc')
|
||||
description_columns = {
|
||||
|
|
Loading…
Reference in New Issue