Skip to content

Commit 09f75b6

Browse files

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

static/app/components/feedback/feedbackSearch.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ export default function FeedbackSearch() {
177177
projectIds: projectIds?.map(String),
178178
endpointParams,
179179
}).then(
180-
tagValues => (tagValues as TagValue[]).map(({value}) => value),
180+
tagValues =>
181+
(tagValues as TagValue[])
182+
.filter(tagValue => tagValue.name !== '')
183+
.map(({value}) => value),
181184
() => {
182185
throw new Error('Unable to fetch event field values');
183186
}

static/app/views/replays/list/replaySearchBar.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ function ReplaySearchBar(props: Props) {
168168
endpointParams,
169169
includeReplays: true,
170170
}).then(
171-
tagValues => (tagValues as TagValue[]).map(({value}) => value),
171+
tagValues =>
172+
(tagValues as TagValue[])
173+
.filter(tagValue => tagValue.name !== '')
174+
.map(({value}) => value),
172175
() => {
173176
throw new Error('Unable to fetch event field values');
174177
}

0 commit comments

Comments
 (0)