Skip to content

Commit

Permalink
fix: Remove accidental duplication of status options in Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Jan 25, 2025
1 parent 3e4c1db commit 577e6e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Config/SettingsTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,6 @@ export class SettingsTab extends PluginSettingTab {
detailsContainer.open = initiallyOpen;
});

settingsJson.forEach((heading) => {
const initiallyOpen = headingOpened[heading.text] ?? true;
const detailsContainer = this.addOneSettingsBlock(containerEl, heading, headingOpened);
detailsContainer.open = initiallyOpen;
});

// ---------------------------------------------------------------------------
new Setting(containerEl).setName(i18n.t('settings.dates.heading')).setHeading();
// ---------------------------------------------------------------------------
Expand Down

0 comments on commit 577e6e3

Please sign in to comment.