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

index.js « show « users « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1b4e00c81035eb2e1cd821e66e4c866c2034fdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { s__ } from '~/locale';
import { createAlert } from '~/flash';

if (window.gon.features?.profileTabsVue) {
  import('~/profile')
    .then(({ initProfileTabs }) => {
      initProfileTabs();
    })
    .catch(() => {
      createAlert({
        message: s__(
          'UserProfile|An error occurred loading the profile. Please refresh the page to try again.',
        ),
      });
    });
}