From 06d9b3971a987c3a4e24b56e57c7c7ab58d86d19 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Mon, 16 Oct 2023 20:30:32 +0600 Subject: [PATCH] Add Edit button in the roadmap list --- .../TeamRoadmapsList/TeamRoadmaps.tsx | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/components/TeamRoadmapsList/TeamRoadmaps.tsx b/src/components/TeamRoadmapsList/TeamRoadmaps.tsx index 7867c5c0a..d58e3489c 100644 --- a/src/components/TeamRoadmapsList/TeamRoadmaps.tsx +++ b/src/components/TeamRoadmapsList/TeamRoadmaps.tsx @@ -27,6 +27,7 @@ import { import { RoadmapActionDropdown } from './RoadmapActionDropdown'; import { UpdateTeamResourceModal } from '../CreateTeam/UpdateTeamResourceModal'; import { ShareOptionsModal } from '../ShareOptions/ShareOptionsModal'; +import { cn } from '../../lib/classname'; export function TeamRoadmaps() { const { t: teamId } = getUrlParams(); @@ -428,7 +429,12 @@ export function TeamRoadmaps() { return (
@@ -479,6 +485,18 @@ export function TeamRoadmaps() { Visit + {canManageCurrentTeam && ( + + + Edit + + )}
);