Skip to content
Snippets Groups Projects
Commit e2204f46 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #1866 from metabase/backport-fixes-to-0.14.1

Backport fixes to 0.14.1
parents efa3db12 fffdebeb
No related branches found
No related tags found
No related merge requests found
......@@ -142,8 +142,8 @@
:script-src ["'unsafe-inline'"
"'unsafe-eval'"
"'self'"
"www.google-analytics.com"
"*.googleapis.com"
"https://www.google-analytics.com" ; Safari requires the protocol
"https://*.googleapis.com"
"*.gstatic.com"
"js.intercomcdn.com"
"*.intercom.io"
......
......@@ -242,7 +242,7 @@
:max-height :10px
:height :10px
:border-radius :2px
:width (str (float (* 100 (/ (bar-column row) max-value))) "%")})}
:width (str (float (* 100 (/ (double (bar-column row)) max-value))) "%")})} ; cast to double to avoid "Non-terminating decimal expansion" errors
" "]])])
rows)]]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment