We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc95c2 commit e2bc30fCopy full SHA for e2bc30f
web_src/js/features/repo-common.ts
@@ -58,6 +58,9 @@ function initCloneSchemeUrlSelection(parent: Element) {
58
const tabTea = parent.querySelector('.repo-clone-tea');
59
const updateClonePanelUi = function() {
60
let scheme = localStorage.getItem('repo-clone-protocol') || 'https';
61
+ if (!['https', 'ssh', 'tea'].includes(scheme)) {
62
+ scheme = 'https';
63
+ }
64
65
// Fallbacks if the scheme preference is not available in the tabs.
66
if (scheme === 'tea' && !tabTea) {
0 commit comments