test(data-table): assert filteredRowIds prop

This commit is contained in:
Eric Liu 2022-08-17 19:16:25 -07:00
commit f335f036b4

View file

@ -68,6 +68,8 @@
if (new Date(a) > new Date(b)) return 1;
return 0;
}
let filteredRowIds = [];
</script>
<DataTable
@ -117,6 +119,7 @@
<Toolbar>
<ToolbarContent>
<ToolbarSearch
bind:filteredRowIds
shouldFilterRows="{(row, value) => {
return row.name.includes(value);
}}"