mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-14 14:59:08 +01:00
remove the word "preset" from the preset dropdown
This commit is contained in:
parent
a7815a157f
commit
059b91d37d
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
@ -250,7 +250,7 @@ class CustomFramesSettingTab extends PluginSettingTab {
|
|||
let dropdown = new DropdownComponent(addDiv);
|
||||
dropdown.addOption("new", "Custom");
|
||||
for (let key of Object.keys(presets))
|
||||
dropdown.addOption(key, `${presets[key].displayName} Preset`);
|
||||
dropdown.addOption(key, presets[key].displayName);
|
||||
new ButtonComponent(addDiv)
|
||||
.setButtonText("Add Frame")
|
||||
.onClick(async () => {
|
||||
|
|
Loading…
Reference in a new issue