From 223c311920f28f0c6edb4662db1f348b539bc8be Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Tue, 16 Jun 2026 11:11:16 +0700 Subject: [PATCH] fix: add editor icon + colored badges to Lab profile cards Co-authored-by: shakespeare.diy --- src/pages/LabPage.tsx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/pages/LabPage.tsx b/src/pages/LabPage.tsx index ea2ff27..0e83565 100644 --- a/src/pages/LabPage.tsx +++ b/src/pages/LabPage.tsx @@ -387,6 +387,7 @@ function ProfileCard({ profile }: { profile: LabProfile }) { const isCoach = profile.profileType === 'coach'; const isFilmer = profile.profileType === 'filmer'; + const isEditor = profile.profileType === 'editor'; // Get skill labels based on profile type const getSkillLabel = (skill: string) => { @@ -394,6 +395,9 @@ function ProfileCard({ profile }: { profile: LabProfile }) { if (isFilmer) { return FILMING_SERVICE_LABELS[skill] || FILMING_SKILL_LABELS[skill] || skill; } + if (isEditor) { + return EDITOR_SERVICE_LABELS[skill] || EDITOR_SKILL_LABELS[skill] || skill; + } return skill; }; @@ -407,6 +411,7 @@ function ProfileCard({ profile }: { profile: LabProfile }) {

{displayName}

{isCoach && } {isFilmer &&