Skip to content

Commit 7124d15

Browse files
committed
fix(mobile): remove smart lists from manage_lists page
1 parent 0e3bc6f commit 7124d15

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/mobile/app/dashboard/bookmarks/[slug]/manage_lists.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ const ListPickerPage = () => {
9191
};
9292

9393
const { allPaths } = data ?? {};
94-
const filteredPaths = allPaths?.filter(
95-
(path) => path[path.length - 1].userRole !== "viewer",
96-
);
94+
const filteredPaths = allPaths
95+
?.filter((path) => path[path.length - 1].userRole !== "viewer")
96+
.filter((path) => path[path.length - 1].type !== "smart");
9797

9898
return (
9999
<>

0 commit comments

Comments
 (0)