[PR #4356] [MERGED] fix: helpers with empty or undefined values #5338

Closed
opened 2026-02-28 21:10:50 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4356
Author: @UnderKoen
Created: 2/11/2025
Status: Merged
Merged: 2/11/2025
Merged by: @UnderKoen

Base: masterHead: Underkoen/fix-handlebars-with-undefined


📝 Commits (2)

  • ebc9fe3 fix: helpers with empty or undefined values
  • afb2d59 chore: note

📊 Changes

3 files changed (+33 additions, -13 deletions)

View changed files

📝 packages/loot-core/src/server/accounts/rules.test.ts (+13 -0)
📝 packages/loot-core/src/server/accounts/rules.ts (+14 -13)
upcoming-release-notes/4356.md (+6 -0)

📄 Description

To check if the template is correct we do an compile with empty context so all helpers should work with empty fields


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4356 **Author:** [@UnderKoen](https://github.com/UnderKoen) **Created:** 2/11/2025 **Status:** ✅ Merged **Merged:** 2/11/2025 **Merged by:** [@UnderKoen](https://github.com/UnderKoen) **Base:** `master` ← **Head:** `Underkoen/fix-handlebars-with-undefined` --- ### 📝 Commits (2) - [`ebc9fe3`](https://github.com/actualbudget/actual/commit/ebc9fe3d28c225822cfbd85b6ea95c850424fbec) fix: helpers with empty or undefined values - [`afb2d59`](https://github.com/actualbudget/actual/commit/afb2d5966e3b7e0e6f3fe8a3c867a279d752bb5f) chore: note ### 📊 Changes **3 files changed** (+33 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/accounts/rules.test.ts` (+13 -0) 📝 `packages/loot-core/src/server/accounts/rules.ts` (+14 -13) ➕ `upcoming-release-notes/4356.md` (+6 -0) </details> ### 📄 Description To check if the template is correct we do an compile with empty context so all helpers should work with empty fields --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:10:50 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5338