mirror of
https://github.com/Ellpeck/ObsidianCustomFrames.git
synced 2024-06-08 00:53:37 +02:00
remove the word "preset" from the preset dropdown
This commit is contained in:
parent
a7815a157f
commit
059b91d37d
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