blob: dd47baf06ecf1427709a5ae8319986731eca0d09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { s__ } from '~/locale';
import { createAlert } from '~/alert';
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.',
),
});
});
}
|