mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-25 00:34:32 +00:00
Allow spots and alerts to have multiple activities #143
This commit is contained in:
+2
-2
@@ -276,8 +276,8 @@ function getTooltipText(s) {
|
||||
|
||||
// Activity or fallback to source
|
||||
let activitySourceText = s["source"];
|
||||
if (s["activity"]) {
|
||||
activitySourceText = s["activity"];
|
||||
if (s["activities"] != null && s["activities"].length > 0) {
|
||||
activitySourceText = s["activities"].join(", ");
|
||||
}
|
||||
|
||||
// Format activity refs
|
||||
|
||||
Reference in New Issue
Block a user