From 9eaae536f254a95e639f8ca44b00a9aed3104c31 Mon Sep 17 00:00:00 2001
From: Johannes Loher <johannes.loher@fg4f.de>
Date: Tue, 30 Nov 2021 19:04:00 +0100
Subject: [PATCH] refactor: simplify registration of handlebars partials

---
 src/module/handlebars/handlebars-helpers.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/module/handlebars/handlebars-helpers.ts b/src/module/handlebars/handlebars-helpers.ts
index 4799b909..004f31e7 100644
--- a/src/module/handlebars/handlebars-helpers.ts
+++ b/src/module/handlebars/handlebars-helpers.ts
@@ -3,7 +3,7 @@
 // SPDX-License-Identifier: MIT
 
 export default function registerHandlebarsHelpers(): void {
-    Object.entries(helpers).forEach(([key, helper]) => Handlebars.registerHelper(key, helper));
+    Handlebars.registerHelper(helpers);
 }
 
 const helpers = {