aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-12-31 21:10:17 +0800
committercrupest <crupest@outlook.com>2020-12-31 21:10:17 +0800
commit6016377a737ccbc64f02403ba6d9a22821b28508 (patch)
tree77a59e51f0f42d22c8b0ad5377b76d6ef426d299 /FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
parent02aff31ef153ed400d9348b2f9518861993778d2 (diff)
downloadtimeline-6016377a737ccbc64f02403ba6d9a22821b28508.tar.gz
timeline-6016377a737ccbc64f02403ba6d9a22821b28508.tar.bz2
timeline-6016377a737ccbc64f02403ba6d9a22821b28508.zip
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx')
-rw-r--r--FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
index b42b3aa3..ece1942f 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelineCardTemplate.tsx
@@ -78,6 +78,7 @@ function TimelineCardTemplate({
} else {
return (
<Dropdown.Item
+ key={index}
onClick={item.onClick}
className={
item.color != null ? "text-" + item.color : undefined