From 8b8ebda2071ca713c13854f5a2d63647f6658ce0 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Tue, 19 Nov 2024 18:43:48 +0100 Subject: [PATCH] fix: use aliases from config --- assets/javascripts/templates/pages/help_tmpl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/templates/pages/help_tmpl.js b/assets/javascripts/templates/pages/help_tmpl.js index 2fa186c8..e155d829 100644 --- a/assets/javascripts/templates/pages/help_tmpl.js +++ b/assets/javascripts/templates/pages/help_tmpl.js @@ -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);