feat(frontend): fix table when seaching with hidden columns (#2549)

This commit is contained in:
Faton Ramadani
2023-11-03 09:03:26 +01:00
committed by GitHub
parent 248ec9d171
commit 51eeeb3aa8
@@ -266,7 +266,7 @@
}
}
function updateTable(resolvedConfig) {
function updateTable(resolvedConfig, searchValue) {
if (resolvedConfig?.columnDefs) {
$table.getAllLeafColumns().map((column) => {
const columnConfig = resolvedConfig.columnDefs.find(
@@ -285,7 +285,7 @@
}
}
$: updateTable(resolvedConfig)
$: updateTable(resolvedConfig, searchValue)
</script>
{#each Object.keys(components['tablecomponent'].initialData.configuration) as key (key)}