diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-16 21:11:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-16 21:11:32 +0300 |
commit | 78a62a7c7a773041dcb4fc733534c03c0be4c067 (patch) | |
tree | 9f933e98cc17c1c9b668428c2c4250f7f6b3ddc6 /app/assets/javascripts/protected_branches | |
parent | 49769473ab2fc0471853ada294c2f9a66f25f048 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/protected_branches')
-rw-r--r-- | app/assets/javascripts/protected_branches/protected_branch_create.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/protected_branches/protected_branch_create.js b/app/assets/javascripts/protected_branches/protected_branch_create.js index d0d2c1400a7..d4b52860261 100644 --- a/app/assets/javascripts/protected_branches/protected_branch_create.js +++ b/app/assets/javascripts/protected_branches/protected_branch_create.js @@ -12,7 +12,7 @@ export default class ProtectedBranchCreate { this.hasLicense = options.hasLicense; this.$form = $('.js-new-protected-branch'); - this.isLocalStorageAvailable = AccessorUtilities.isLocalStorageAccessSafe(); + this.isLocalStorageAvailable = AccessorUtilities.canUseLocalStorage(); this.currentProjectUserDefaults = {}; this.buildDropdowns(); this.$forcePushToggle = this.$form.find('.js-force-push-toggle'); |