diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 18:13:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 18:13:52 +0300 |
commit | b962adf4c32f2371ad0d8bfcdc444933943d3cd9 (patch) | |
tree | 7214b9fe711e9b2c3c0fbb5d5a5f15565110dc95 /app/assets/javascripts/profile | |
parent | 027f19b39c73b3b98e7cf305fead871626e8b717 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r-- | app/assets/javascripts/profile/profile.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/assets/javascripts/profile/profile.js b/app/assets/javascripts/profile/profile.js index af5beeb686c..bf507c620e6 100644 --- a/app/assets/javascripts/profile/profile.js +++ b/app/assets/javascripts/profile/profile.js @@ -5,9 +5,6 @@ import axios from '~/lib/utils/axios_utils'; import { parseBoolean } from '~/lib/utils/common_utils'; import { parseRailsFormFields } from '~/lib/utils/forms'; import { Rails } from '~/lib/utils/rails_ujs'; -import TimezoneDropdown, { - formatTimezone, -} from '~/pages/projects/pipeline_schedules/shared/components/timezone_dropdown'; import UserProfileSetStatusWrapper from '~/set_status_modal/user_profile_set_status_wrapper.vue'; export default class Profile { @@ -17,15 +14,6 @@ export default class Profile { this.setRepoRadio(); this.bindEvents(); this.initAvatarGlCrop(); - - this.$inputEl = $('#user_timezone'); - - this.timezoneDropdown = new TimezoneDropdown({ - $inputEl: this.$inputEl, - $dropdownEl: $('.js-timezone-dropdown'), - displayFormat: (selectedItem) => formatTimezone(selectedItem), - allowEmpty: true, - }); } initAvatarGlCrop() { |