diff --git a/frontend/src/scenes/surveys/Surveys.tsx b/frontend/src/scenes/surveys/Surveys.tsx index 19f987bbeb5b0..e43e6c90e3cba 100644 --- a/frontend/src/scenes/surveys/Surveys.tsx +++ b/frontend/src/scenes/surveys/Surveys.tsx @@ -173,16 +173,7 @@ export function Surveys(): JSX.Element { { - if (user) { - if (user === 'any') { - if (filters) { - const { created_by, ...restFilters } = filters - setSurveysFilters(restFilters, true) - } - } else { - setSurveysFilters({ created_by: user }) - } - } + setSurveysFilters({ created_by: user }) }} options={uniqueCreators} value={filters.created_by}