summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/behaviors
diff options
context:
space:
mode:
authorTristan Read <tread@gitlab.com>2019-08-09 20:35:43 +0000
committerRobert Speicher <rspeicher@gmail.com>2019-08-09 20:35:43 +0000
commit5e6a58040bcfaa4c933027cddfad04810042b904 (patch)
tree98add06845bf9d558de38c9c1034ade7d05d9ce2 /app/assets/javascripts/behaviors
parent25dd49cda27b479a478eac861e1704812602d938 (diff)
downloadgitlab-ce-5e6a58040bcfaa4c933027cddfad04810042b904.tar.gz
Remove gfm_embed_metrics flag from BE
Removes the feature flag that controls whether metrics dashboard urls unfurl the metrics dashboard charts.
Diffstat (limited to 'app/assets/javascripts/behaviors')
-rw-r--r--app/assets/javascripts/behaviors/markdown/render_gfm.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/behaviors/markdown/render_gfm.js b/app/assets/javascripts/behaviors/markdown/render_gfm.js
index 789a057caf8..137cc7b4669 100644
--- a/app/assets/javascripts/behaviors/markdown/render_gfm.js
+++ b/app/assets/javascripts/behaviors/markdown/render_gfm.js
@@ -18,9 +18,7 @@ $.fn.renderGFM = function renderGFM() {
highlightCurrentUser(this.find('.gfm-project_member').get());
initUserPopovers(this.find('.gfm-project_member').get());
initMRPopovers(this.find('.gfm-merge_request').get());
- if (gon.features && gon.features.gfmEmbeddedMetrics) {
- renderMetrics(this.find('.js-render-metrics').get());
- }
+ renderMetrics(this.find('.js-render-metrics').get());
return this;
};