Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] base_import_map: prevent duplicate map settings controls
Because in the custom init function the original (prototype) 'opts' array was mutated, every time the function was called (which happens everytime one opens the import wizard) 3 opts were added, resulting in duplicate map controls. Solve the bug by using concat + reassignment instead of mutation.
- Loading branch information