aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/search/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/views/search/index.tsx')
-rw-r--r--FrontEnd/src/views/search/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/views/search/index.tsx b/FrontEnd/src/views/search/index.tsx
index f5018c3e..da22fa6f 100644
--- a/FrontEnd/src/views/search/index.tsx
+++ b/FrontEnd/src/views/search/index.tsx
@@ -16,7 +16,7 @@ import "./index.css";
const TimelineSearchResultItemView: React.FC<{
timeline: HttpTimelineInfo;
}> = ({ timeline }) => {
- const link = timeline.name.startsWith("src")
+ const link = timeline.name.startsWith("@")
? `users/${timeline.owner.username}`
: `timelines/${timeline.name}`;