Update social media page identification for better user recognition

Rename 'name' to 'pageName' in SocialPage type and update display to correctly show user-assigned Facebook page names.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/ZZqfJdr
This commit is contained in:
michaelschal committed 2025-10-08 16:03:26 +00:00
1 parent 9c26efa319
commit d7a1bf962e
3 files changed
+6 -2

No files matched your search

+4
View File
@@ -26,6 +26,10 @@ externalPort = 3002
localPort = 37659
externalPort = 4200
[[ports]]
localPort = 37941
externalPort = 5000
[[ports]]
localPort = 40537
externalPort = 3000
Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

+2 -2
View File
@@ -24,7 +24,7 @@ type UserData = {
type SocialPage = {
id: string;
name: string;
pageName: string;
platform: string;
userId: string;
};
@@ -568,7 +568,7 @@ export default function UsersAdmin() {
htmlFor={`page-${page.id}`}
className="flex-1 cursor-pointer"
>
<div className="font-medium">{page.name}</div>
<div className="font-medium">{page.pageName}</div>
<div className="text-sm text-muted-foreground">
{page.platform === "facebook" ? "Facebook" : "Instagram"}
</div>