aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/center
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-15 18:38:27 +0800
committercrupest <crupest@outlook.com>2021-06-15 18:38:27 +0800
commit2e9fd68958502e8865408cd5c33662b4b5bf4d27 (patch)
treebe809b2d736747d4d0712c6d93795b0c2913c904 /FrontEnd/src/views/center
parentbf9b145ad9731901d67ff3d16783980a8310a493 (diff)
downloadtimeline-2e9fd68958502e8865408cd5c33662b4b5bf4d27.tar.gz
timeline-2e9fd68958502e8865408cd5c33662b4b5bf4d27.tar.bz2
timeline-2e9fd68958502e8865408cd5c33662b4b5bf4d27.zip
...
Diffstat (limited to 'FrontEnd/src/views/center')
-rw-r--r--FrontEnd/src/views/center/TimelineBoard.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/views/center/TimelineBoard.tsx b/FrontEnd/src/views/center/TimelineBoard.tsx
index 7b9981e5..d6f6228d 100644
--- a/FrontEnd/src/views/center/TimelineBoard.tsx
+++ b/FrontEnd/src/views/center/TimelineBoard.tsx
@@ -35,7 +35,7 @@ const TimelineBoardItem: React.FC<TimelineBoardItemProps> = ({
actions,
}) => {
const { name, title } = timeline;
- const isPersonal = name.startsWith("src");
+ const isPersonal = name.startsWith("@");
const url = isPersonal
? `/users/${timeline.owner.username}`
: `/timelines/${name}`;