forked from maybe-finance/maybe
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Before you start (required)
General checklist
- I have removed personal / sensitive data from screenshots and logs
- I have searched existing issues and discussions to ensure this is not a duplicate issue
How are you using Sure?
- I was a paying Maybe customer (hosted version)
- I use it on PikaPod, Umbrel or similar (VPS included)
- I am a self-hosted user (local only)
Self hoster checklist
Paying, hosted users should delete this entire section.
If you are a self-hosted user, please complete all of the information below. Issues with incomplete information will be marked as Needs Info to help our small team prioritize bug fixes.
- Self hosted app commit SHA (find in user menu): 706c3a9
- I have confirmed that my app's commit is the latest version of Sure
- Where are you hosting?
- Render
- Docker Compose
- Umbrel
- PikaPod
- Other (Dev environment)
- K8s
Bug description
Unable to edit all merchants. Only family_merchants are editable.
To Reproduce
- Go to the simplefin setup page
- Setup simplefin
- Finish first sync and add an account with transactions
- Go to Settings -> Merchants
- Click the 3 dots next to a merchant
- Click Edit
This yields a 404 on /family_merchants/[id]/edit in the console due to the family_merchants route only attempting to find a family_merchant.
Expected behavior
Should be able to edit any merchant, no matter the source of it.
This should probably be generic, and have a url along the lines of /merchants/[id]/edit, and have the controller search all of the kinds of merchants (maybe just don't filter for FamilyMerchant in the DB).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working