Table filters to be accessible in publish mode (#273)

Filters are only available on the client. This results in filters being available in published mode.
This commit is contained in:
vicky-primathon 2020-08-13 13:26:10 +05:30 committed by GitHub
parent b62f5cf3c4
commit e1676beba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,7 +386,7 @@ class TableWidget extends BaseWidget<TableWidgetProps, WidgetState> {
searchTableData={this.handleSearchTable}
filters={this.props.filters}
applyFilter={(filters: ReactTableFilter[]) => {
super.updateWidgetProperty("filters", filters);
super.updateWidgetMetaProperty("filters", filters);
}}
compactMode={this.props.compactMode}
updateCompactMode={(compactMode: CompactMode) => {