From 798e7441b4036b0c154b8b544ace9f158ede1321 Mon Sep 17 00:00:00 2001 From: Eldritch-Oliver Date: Sun, 12 Oct 2025 21:28:52 -0600 Subject: [PATCH] Add a helper to output a value if it's truthy or nothing otherwise --- module/handlebarHelpers/_index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/module/handlebarHelpers/_index.mjs b/module/handlebarHelpers/_index.mjs index 9c8587d..2d1e881 100644 --- a/module/handlebarHelpers/_index.mjs +++ b/module/handlebarHelpers/_index.mjs @@ -9,5 +9,6 @@ export default { "rc-options": options, // #region Simple + "rc-ifOut": (v) => (v || ``), "rc-empty-state": (v) => v ?? localizer(`RipCrypt.common.empty`), };