From 2e9fd68958502e8865408cd5c33662b4b5bf4d27 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 15 Jun 2021 18:38:27 +0800 Subject: ... --- FrontEnd/src/views/search/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FrontEnd/src/views/search') 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}`; -- cgit v1.2.3