Skip to content

Commit

Permalink
refactor: ♻️ Use a default hierarchy, instead of none
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Nov 19, 2021
1 parent 86a9188 commit 387b7f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BreadcrumbsSettingTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export class BCSettingTab extends PluginSettingTab {
cls: "limit-ML-fields",
});
limitTrailFieldsDiv.createEl("strong", {
text: "Limit M/L View to only show certain fields",
text: "Limit Trail View to only show certain fields",
});

const checkboxDiv = limitTrailFieldsDiv.createDiv({ cls: "checkboxes" });
Expand Down
10 changes: 9 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,15 @@ export const blankDirUndef = (): { [dir in Directions]: undefined } => {
};

export const DEFAULT_SETTINGS: BCSettings = {
userHierarchies: [],
userHierarchies: [
{
up: ["up"],
same: ["same"],
down: ["down"],
next: ["next"],
prev: ["prev"],
},
],
indexNote: [""],
CSVPaths: "",
hierarchyNotes: [""],
Expand Down

0 comments on commit 387b7f5

Please sign in to comment.