mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
parent
346d9b5ed0
commit
254bd848b4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
import { tick, getContext } from "svelte";
|
import { tick, getContext } from "svelte";
|
||||||
import Search from "../Search/Search.svelte";
|
import Search from "../Search/Search.svelte";
|
||||||
|
|
||||||
const { tableRows } = getContext("DataTable");
|
const { tableRows } = getContext("DataTable") ?? {};
|
||||||
|
|
||||||
$: originalRows = tableRows ? [...$tableRows] : [];
|
$: originalRows = tableRows ? [...$tableRows] : [];
|
||||||
$: if (shouldFilterRows) {
|
$: if (shouldFilterRows) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue