Skip to content

Commit

Permalink
fix: resolve show tags not always working
Browse files Browse the repository at this point in the history
  • Loading branch information
decaf-dev committed Sep 14, 2024
1 parent 8627704 commit e273851
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/svelte/app/components/list-item.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
export let extension: string;
export let path: string;
export let tags: string[] | null;
export let showTags: boolean;
let showTags: boolean;
export let isSmallScreenSize: boolean;
export let enablePremiumFeatures: boolean;
Expand Down
2 changes: 0 additions & 2 deletions src/svelte/app/components/list-view.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
export let data: FileRenderData[];
export let startIndex: number;
export let pageLength: number;
export let showTags: boolean;
export let isSmallScreenSize: boolean;
export let enablePremiumFeatures: boolean;
Expand All @@ -28,7 +27,6 @@
{#each filteredItems as fileRenderData (fileRenderData.id)}
<ListItem
{enablePremiumFeatures}
{showTags}
displayName={fileRenderData.displayName}
extension={fileRenderData.extension}
baseName={fileRenderData.baseName}
Expand Down
1 change: 0 additions & 1 deletion src/svelte/app/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,6 @@
<ListView
data={renderData}
{isSmallScreenSize}
showTags={listView.showTags}
{startIndex}
{pageLength}
{enablePremiumFeatures}
Expand Down

0 comments on commit e273851

Please sign in to comment.