From cb534ade858f655b9e220ffae90fb0fb27c9d9c8 Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Mon, 11 Sep 2023 16:13:38 -0700 Subject: [PATCH] chore(ui): remove unnecessary filters --- ui/src/components/CreatorsListDialog.vue | 2 +- ui/src/components/FollowersListDialog.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/CreatorsListDialog.vue b/ui/src/components/CreatorsListDialog.vue index 4b4f7249..d0c62db1 100644 --- a/ui/src/components/CreatorsListDialog.vue +++ b/ui/src/components/CreatorsListDialog.vue @@ -95,7 +95,7 @@ const fetchCreators = async (params: any) => { }) ); - return agentProfiles.filter(Boolean) as AgentProfile[]; + return agentProfiles; }; const { data, error, fetchNextPage, hasNextPage, isInitialLoading, refetch } = diff --git a/ui/src/components/FollowersListDialog.vue b/ui/src/components/FollowersListDialog.vue index 70f48cc7..94fc2134 100644 --- a/ui/src/components/FollowersListDialog.vue +++ b/ui/src/components/FollowersListDialog.vue @@ -95,7 +95,7 @@ const fetchFollowers = async (params: any) => { }) ); - return agentProfiles.filter(Boolean) as AgentProfile[]; + return agentProfiles; }; const { data, error, fetchNextPage, hasNextPage, isInitialLoading, refetch } =