Skip to content

Commit

Permalink
fix: use aliases from config
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeytonwilliams committed Nov 19, 2024
1 parent 811b9d1 commit 8b8ebda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/javascripts/templates/pages/help_tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ app.templates.helpPage = function () {
const navKey = $.isMac() ? "cmd" : "alt";
const arrowScroll = app.settings.get("arrowScroll");

const aliases = Object.entries(app.models.Entry.ALIASES);
const aliases = Object.entries(app.config.docs_aliases);
const middle = Math.ceil(aliases.length / 2);
const aliases_one = aliases.slice(0, middle);
const aliases_two = aliases.slice(middle);
Expand Down

0 comments on commit 8b8ebda

Please sign in to comment.