Skip to content

Commit

Permalink
remove dummy filter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Pesce committed Jun 27, 2023
1 parent d9f1d14 commit 44edba2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/ResourceTreeNode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@
lastModified = resourceNodeDataMap[self_id].lastModified;
allModified = resourceNodeDataMap[self_id].allModified;
}
$: filter = searchFilter;
function updateRootModel() {
rootResource.update();
rootResource = rootResource;
Expand Down Expand Up @@ -231,7 +230,7 @@
});
</script>
{#if filter == null || filter.includes(self_id)}
{#if searchFilter == null || searchFilter.includes(self_id)}
{#await childrenPromise then children}
{#if children?.length > 0}
<button
Expand Down Expand Up @@ -279,7 +278,7 @@
{#if !collapsed && children.length > 0}
<ul>
{#each children.slice(0, kiddoChunksize) as child, i}
{#if filter == null || filter.includes(child.get_id())}
{#if searchFilter == null || searchFilter.includes(child.get_id())}
<li>
<div>
<svelte:self
Expand Down

0 comments on commit 44edba2

Please sign in to comment.