[PR #2649] [MERGED] 🐛 fix budget-type identification when deleting files #23042

Closed
opened 2026-04-16 17:11:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2649
Author: @MatissJanis
Created: 4/20/2024
Status: Merged
Merged: 4/20/2024
Merged by: @MatissJanis

Base: masterHead: matiss/cloud-file


📝 Commits (4)

  • 56c8f3b 🐛 fix budget-type identification when deleting files
  • 832fb39 Release notes
  • c38b9e1 Different solution
  • 4adb9fb Remove console.log

📊 Changes

2 files changed (+10 additions, -3 deletions)

View changed files

📝 packages/loot-core/src/server/main.ts (+4 -3)
upcoming-release-notes/2649.md (+6 -0)

📄 Description

Patching how we build the file objects. cloudFileId should not be set for local-only files.

This leads to the "delete file" modal always showing the "delete remote file" button. Even when the button should not be there.


🔄 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/2649 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 4/20/2024 **Status:** ✅ Merged **Merged:** 4/20/2024 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/cloud-file` --- ### 📝 Commits (4) - [`56c8f3b`](https://github.com/actualbudget/actual/commit/56c8f3b8401dd74e60425ff393ff8d0b2bfc6392) :bug: fix budget-type identification when deleting files - [`832fb39`](https://github.com/actualbudget/actual/commit/832fb395347ef27a3934645d6ddfea63f9153bdd) Release notes - [`c38b9e1`](https://github.com/actualbudget/actual/commit/c38b9e172c611f7f5950179d8188495811b6713f) Different solution - [`4adb9fb`](https://github.com/actualbudget/actual/commit/4adb9fb410a74aac0b5bda7c7e472e78a267bdad) Remove console.log ### 📊 Changes **2 files changed** (+10 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/main.ts` (+4 -3) ➕ `upcoming-release-notes/2649.md` (+6 -0) </details> ### 📄 Description Patching how we build the file objects. `cloudFileId` should not be set for local-only files. This leads to the "delete file" modal always showing the "delete remote file" button. Even when the button should not be there. --- <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-04-16 17:11:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#23042