mirror of
https://github.com/williamsjack/pairwise-glicko-ranking.git
synced 2026-07-22 06:44:09 +00:00
Restore "configure" button as visual indicator
This commit is contained in:
parent
de665718fb
commit
9b600cf7e1
1 changed files with 9 additions and 0 deletions
|
|
@ -337,6 +337,15 @@ export default class GlickoSettingsTab extends PluginSettingTab {
|
|||
setting.infoEl.addEventListener('click', () => {
|
||||
void this.configureCohort(cohortKey);
|
||||
});
|
||||
|
||||
setting.addExtraButton((b) =>
|
||||
b
|
||||
.setIcon('settings')
|
||||
.setTooltip('Configure')
|
||||
.onClick(() => {
|
||||
void this.configureCohort(cohortKey);
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
private frontmatterDefaultsPageItems(): SettingDefinitionItem[] {
|
||||
|
|
|
|||
Loading…
Reference in a new issue