Add option to "skip" adding an account

This commit is contained in:
Juan José Mata
2025-08-07 16:05:41 -07:00
parent 7685d950c4
commit 8776faf006
3 changed files with 8 additions and 1 deletions

View File

@@ -26,6 +26,11 @@ export default class extends Controller {
}
})
// Don't show any subtype select for Skip option
if (selectedType === 'Skip') {
return
}
// Show the relevant subtype select
const relevantSubtype = container.querySelector(`[data-type="${selectedType}"]`)
if (relevantSubtype) {