mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-21 09:21:15 -05:00
[PR #2799] [MERGED] fix: use targetId as row identifier #3165
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2799
Author: @LaurenceJJones
Created: 4/6/2026
Status: ✅ Merged
Merged: 4/11/2026
Merged by: @oschwartz10612
Base:
dev← Head:fix/proxy-target-deletion📝 Commits (2)
81eba50fix: use targetId as row identifier7d3d5b2use targetid also on proxy create as that also has same issue📊 Changes
2 files changed (+2 additions, -0 deletions)
View changed files
📝
src/app/[orgId]/settings/resources/proxy/[niceId]/proxy/page.tsx(+1 -0)📝
src/app/[orgId]/settings/resources/proxy/create/page.tsx(+1 -0)📄 Description
fix: #2797
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
When no
getRowIdfunction is provided it uses the index of the array for the tanstack table. This causes render issues if the data is nested and causes the problem outline in #2797.How to test?
What is odd is that I could not reproduce the issue by creating three targets under the same site. To match the user's setup, I had to create three separate sites, since the dashboard uses the site itself as the data point being displayed.
From what I can see, the correct ID does appear to be deleted. The issue seems to be with the UI not updating properly afterward, likely because the data passed into the render is deeply nested and React is not re-rendering that state correctly.
closed #2798 because pointed to wrong branch 🤦🏻
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.