debian-mirror-gitlab/app/assets/javascripts/pages/users/show/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
400 B
JavaScript
Raw Normal View History

2023-04-23 21:23:45 +05:30
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.',
),
});
});
}