mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-11-25 18:48:35 +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);
|
let dropdown = new DropdownComponent(addDiv);
|
||||||
dropdown.addOption("new", "Custom");
|
dropdown.addOption("new", "Custom");
|
||||||
for (let key of Object.keys(presets))
|
for (let key of Object.keys(presets))
|
||||||
dropdown.addOption(key, `${presets[key].displayName} Preset`);
|
dropdown.addOption(key, presets[key].displayName);
|
||||||
new ButtonComponent(addDiv)
|
new ButtonComponent(addDiv)
|
||||||
.setButtonText("Add Frame")
|
.setButtonText("Add Frame")
|
||||||
.onClick(async () => {
|
.onClick(async () => {
|
||||||
|
|
Loading…
Reference in a new issue