@@ -30,7 +32,7 @@ const TeamCard = ({ team }) => {
{
label: "Open in Connect",
action: () => {
- window.open(formatConnectProjectUrl(team.id));
+ console.log("Issue reported!");
},
},
{
@@ -48,7 +50,7 @@ const TeamCard = ({ team }) => {
{
label: "Report an Issue",
action: () => {
- window.open(formatReportIssueUrl(`TaaS Issue: ${team.name}`));
+ showReportPopup(team.name, team.id);
},
},
]}
diff --git a/src/routes/MyTeamsList/index.jsx b/src/routes/MyTeamsList/index.jsx
index cb35ab06..85da5b6f 100644
--- a/src/routes/MyTeamsList/index.jsx
+++ b/src/routes/MyTeamsList/index.jsx
@@ -18,6 +18,7 @@ import { useDebounce } from "react-use";
import { TEAMS_PER_PAGE } from "constants";
import "./styles.module.scss";
import { INPUT_DEBOUNCE_DELAY } from "constants/";
+import ReportPopup from "components/ReportPopup";
const MyTeamsList = () => {
let [myTeams, setMyTeams] = useState(null);
@@ -95,6 +96,7 @@ const MyTeamsList = () => {
)}
>
)}
+
);
};
diff --git a/src/routes/PositionDetails/components/PositionCandidates/index.jsx b/src/routes/PositionDetails/components/PositionCandidates/index.jsx
index c5558d91..44fc99e6 100644
--- a/src/routes/PositionDetails/components/PositionCandidates/index.jsx
+++ b/src/routes/PositionDetails/components/PositionCandidates/index.jsx
@@ -61,7 +61,7 @@ const PositionCandidates = ({ position, candidateStatus, updateCandidate }) => {
useEffect(() => {
setPage(1);
- }, [candidateStatus])
+ }, [candidateStatus]);
const filteredCandidates = useMemo(
() =>
diff --git a/src/routes/TeamAccess/actions/index.js b/src/routes/TeamAccess/actions/index.js
index 6eb0a3c1..43e374b7 100644
--- a/src/routes/TeamAccess/actions/index.js
+++ b/src/routes/TeamAccess/actions/index.js
@@ -8,7 +8,7 @@ import {
deleteTeamMember,
deleteInvite,
getMemberSuggestions,
- postInvites
+ postInvites,
} from "services/teams";
export const ACTION_TYPE = {
@@ -37,7 +37,7 @@ export const ACTION_TYPE = {
ADD_INVITES_SUCCESS: "ADD_INVITES_SUCCESS",
ADD_INVITES_ERROR: "ADD_INVITES_ERROR",
CLEAR_ALL: "CLEAR_ALL",
- CLEAR_SUGGESTIONS: "CLEAR_SUGGESTIONS"
+ CLEAR_SUGGESTIONS: "CLEAR_SUGGESTIONS",
};
/**
@@ -108,7 +108,7 @@ export const removeTeamMember = (teamId, memberId) => ({
*
* @param {string|number} teamId
* @param {string|number} REMOVE_INVITE_PENDING
- *
+ *
* @returns {Promise} deleted invite id or error
*/
export const removeInvite = (teamId, inviteId) => ({
@@ -125,36 +125,36 @@ export const removeInvite = (teamId, inviteId) => ({
/**
* Loads suggestions for invites
- *
+ *
* @param {string} fragment
- *
- * @returns {Promise