aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/collections/view.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html
index b92464c3..a5f80958 100644
--- a/wqflask/wqflask/templates/collections/view.html
+++ b/wqflask/wqflask/templates/collections/view.html
@@ -178,6 +178,8 @@
'render': function(data) {
if (Object.hasOwn(data, 'symbol')){
return data.symbol
+ } else if (Object.hasOwn(data, 'name')){
+ return data.name
} else {
return "N/A"
}
@@ -195,6 +197,10 @@
} catch(err){
return escape(data.description)
}
+ } else if (Object.hasOwn(data, 'location')){
+ return data.location
+ } else if (Object.hasOwn(data, 'name')){
+ return data.name
} else {
return "N/A"
}