Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function createNameFilter() {
return {
id: nameFilterId,
active: false,
params: {
value: null,
docked: true,
},
match: matchName,
renderer: Table.StringFilterComponent,
rendererProps: {
// FIXME need to be i18n ready
placeHolder: 'Filter...',
dockable: true,
navbar: true,
},
};
}