Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #137 from GovConnex/fix/change-issue-to-campaign
Browse files Browse the repository at this point in the history
Fix: Change issue to campaign
  • Loading branch information
paulvav authored Apr 18, 2024
2 parents 4d4aa03 + 4467f93 commit 6128b38
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@govconnex/ui",
"version": "0.0.174",
"version": "0.0.175",
"description": "GovConnex UI - React Component Library",
"scripts": {
"build:tokens": "./tokens-build.sh",
Expand Down
10 changes: 6 additions & 4 deletions src/components/IssueCard/IssueCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ const IssueCard = ({
(accessLevel === "member" || accessLevel === "admin") && {
id: "mute",
"data-cy": "issue-card-mute",
text: issue.notificationsEnabled ? "Mute Issue" : "Unmute Issue",
text: issue.notificationsEnabled
? "Mute Campaign"
: "Unmute Campaign",
startAdornment: (
<Icon
icon={
Expand All @@ -184,21 +186,21 @@ const IssueCard = ({
(accessLevel === "member" || accessLevel === "admin") && {
id: "edit",
"data-cy": "issue-card-edit",
text: "Edit Issue",
text: "Edit Campaign",
startAdornment: <Icon icon={"pen"} />,
onSelect: editIssue,
},
(accessLevel === "member" || accessLevel === "admin") && {
id: "leave",
"data-cy": "issue-card-leave",
text: "Leave Issue",
text: "Leave Campaign",
startAdornment: <Icon icon={"fa-solid fa-person-to-door"} />,
onSelect: leaveIssue,
},
accessLevel === "admin" && {
id: "leave",
"data-cy": "issue-card-delete",
text: "Delete Issue",
text: "Delete Campaign",
startAdornment: <Icon icon={"trash"} />,
onSelect: deleteIssue,
},
Expand Down

0 comments on commit 6128b38

Please sign in to comment.