Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit cbd5869

Browse files
committed
feat: add RB edit action
ref issue #56
1 parent d8a0a1c commit cbd5869

File tree

1 file changed

+12
-0
lines changed
  • src/routes/MyTeamsDetails/components/TeamMembers

1 file changed

+12
-0
lines changed

src/routes/MyTeamsDetails/components/TeamMembers/index.jsx

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import React, { useState, useCallback, useMemo } from "react";
77
import PT from "prop-types";
88
import "./styles.module.scss";
99
import _ from "lodash";
10+
import { navigate } from "@reach/router";
1011
import User from "components/User";
1112
import CardHeader from "components/CardHeader";
1213
// import Rating from "components/Rating";
@@ -146,6 +147,17 @@ const TeamMembers = ({ team }) => {
146147
<div styleName="table-cell cell-action">
147148
<ActionsMenu
148149
options={[
150+
{
151+
label: "Edit Member Details",
152+
action: () => {
153+
navigate(
154+
`/taas/myteams/${team.id}/rb/${member.id}/edit`
155+
);
156+
},
157+
},
158+
{
159+
separator: true,
160+
},
149161
{
150162
label: "Report an Issue",
151163
action: () => {

0 commit comments

Comments
 (0)