mirror of
https://github.com/ahmetildirim/obsidian-inscribe.git
synced 2026-07-22 05:44:10 +00:00
Refactor profile dropdown initialization in PathConfigsSection for clarity
This commit is contained in:
parent
f12772689a
commit
a3b04e9e7d
1 changed files with 1 additions and 3 deletions
|
|
@ -463,9 +463,7 @@ class PathConfigsSection {
|
|||
const profileCell = row.createEl("td");
|
||||
|
||||
// For other mappings, show editable dropdown
|
||||
const profileDropdown = new DropdownComponent(profileCell)
|
||||
.setDisabled(isDefaultMapping);
|
||||
|
||||
const profileDropdown = new DropdownComponent(profileCell);
|
||||
// Add profile options
|
||||
Object.entries(this.plugin.settings.profiles).forEach(([id, profile]) => {
|
||||
profileDropdown.addOption(id, profile.name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue