diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-08-16 20:45:15 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-08-16 20:45:15 +0300 |
commit | 76cd1dd68198bb464b12de7525ab067c6d4dc025 (patch) | |
tree | 3712e63de04a074d70280f1dd5420a35c77a649c /app/assets/javascripts/pages/admin | |
parent | 1a7ecf03944050b9f0126bde9767481d7e8d3ec2 (diff) | |
parent | 182f1eeb27d63541141f339b54501cc821b8e0e9 (diff) |
Merge branch '50312-instance-statistics-convdev-index-intro-banner-is-not-dismissable' into 'master'
Resolve "Instance Statistics: ConvDev index intro banner is not dismissable"
Closes #50312
See merge request gitlab-org/gitlab-ce!21211
Diffstat (limited to 'app/assets/javascripts/pages/admin')
3 files changed, 0 insertions, 19 deletions
diff --git a/app/assets/javascripts/pages/admin/cohorts/index.js b/app/assets/javascripts/pages/admin/cohorts/index.js deleted file mode 100644 index 2d5020dbef4..00000000000 --- a/app/assets/javascripts/pages/admin/cohorts/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import initUsagePing from './usage_ping'; - -document.addEventListener('DOMContentLoaded', initUsagePing); diff --git a/app/assets/javascripts/pages/admin/cohorts/usage_ping.js b/app/assets/javascripts/pages/admin/cohorts/usage_ping.js deleted file mode 100644 index 914a9661c27..00000000000 --- a/app/assets/javascripts/pages/admin/cohorts/usage_ping.js +++ /dev/null @@ -1,13 +0,0 @@ -import axios from '../../../lib/utils/axios_utils'; -import { __ } from '../../../locale'; -import flash from '../../../flash'; - -export default function UsagePing() { - const el = document.querySelector('.usage-data'); - - axios.get(el.dataset.endpoint, { - responseType: 'text', - }).then(({ data }) => { - el.innerHTML = data; - }).catch(() => flash(__('Error fetching usage ping data.'))); -} diff --git a/app/assets/javascripts/pages/admin/conversational_development_index/show/index.js b/app/assets/javascripts/pages/admin/conversational_development_index/show/index.js deleted file mode 100644 index c1056537f90..00000000000 --- a/app/assets/javascripts/pages/admin/conversational_development_index/show/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import UserCallout from '~/user_callout'; - -document.addEventListener('DOMContentLoaded', () => new UserCallout()); |