mirror of
https://github.com/we-promise/sure.git
synced 2026-04-28 08:24:11 +00:00
Add option to "skip" adding an account
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user