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 3523645 commit 91b0657Copy full SHA for 91b0657
views/partials/oauth_form.hbs
@@ -566,13 +566,19 @@
566
}
567
let projectId = projectIdElm.value;
568
if (projectId) {
569
+ let unselected = !pubSubAppElm.value
570
+
571
pubSubAppElm.querySelectorAll('option').forEach(entry => {
572
if (entry.value && entry.dataset.project !== projectId) {
573
entry.classList.add('d-none');
574
entry.disabled = true;
575
} else {
576
entry.classList.remove('d-none');
577
entry.disabled = false;
578
+ if (unselected) {
579
+ entry.selected = true;
580
+ unselected = false;
581
+ }
582
583
});
584
0 commit comments