Merge pull request #3597 from nielsvanvelzen/qc-text-input

Use text input in Quick Connect page

(cherry picked from commit f7e2f07c059ceb1532ec27103ab8acd1aa59ec7a)
Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
Bill Thornton 2022-04-27 15:23:47 -04:00 committed by crobibero
parent 74faffa9b4
commit 4c709dcf44
2 changed files with 4 additions and 2 deletions

View file

@ -15,7 +15,9 @@ export default function (view) {
return;
}
authorize(codeElement.value);
// Remove spaces from code
const normalizedCode = codeElement.value.replace(/\s/g, '');
authorize(normalizedCode);
});
});
}