[PR #4085] [MERGED] 🔥 remove unused permissions prop from Button components #5180

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4085
Author: @MatissJanis
Created: 1/4/2025
Status: Merged
Merged: 1/7/2025
Merged by: @MatissJanis

Base: masterHead: matiss/cleanup-button


📝 Commits (1)

  • b2e5c09 🔥 remove unused permissions prop from Button components

📊 Changes

3 files changed (+8 additions, -20 deletions)

View changed files

📝 packages/desktop-client/src/components/common/Button.tsx (+1 -7)
📝 packages/desktop-client/src/components/common/Button2.tsx (+1 -13)
upcoming-release-notes/4085.md (+6 -0)

📄 Description

If we wish to add this functionality back - please add it on the consumer level instead of the Button component.

i.e.

<Button isDisabled={hasPermission("something")} />

🔄 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/4085 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 1/4/2025 **Status:** ✅ Merged **Merged:** 1/7/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/cleanup-button` --- ### 📝 Commits (1) - [`b2e5c09`](https://github.com/actualbudget/actual/commit/b2e5c095aa8b3cb8ffe3db52728930901757be3b) :fire: remove unused permissions prop from Button components ### 📊 Changes **3 files changed** (+8 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/common/Button.tsx` (+1 -7) 📝 `packages/desktop-client/src/components/common/Button2.tsx` (+1 -13) ➕ `upcoming-release-notes/4085.md` (+6 -0) </details> ### 📄 Description If we wish to add this functionality back - please add it on the consumer level instead of the `Button` component. i.e. ``` <Button isDisabled={hasPermission("something")} /> ``` --- <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:07:30 -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#5180