Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « general « application_settings « admin « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eda1a9d3599c53976786b96bb9b76cd216f8dd20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import Vue from 'vue';
import IntegrationHelpText from '~/vue_shared/components/integrations_help_text.vue';
import initUserInternalRegexPlaceholder from '../account_and_limits';

(() => {
  initUserInternalRegexPlaceholder();

  const el = document.querySelector('#js-gitpod-settings-help-text');
  if (!el) {
    return;
  }

  const { message, messageUrl } = el.dataset;

  // eslint-disable-next-line no-new
  new Vue({
    el,
    render(createElement) {
      return createElement(IntegrationHelpText, {
        props: {
          message,
          messageUrl,
        },
      });
    },
  });
})();