Skip to content

Commit

Permalink
Leave Group Confirmation Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linathedog committed Jan 21, 2025
1 parent 9f94ace commit c93c8af
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,10 @@ export const GroupPage: FC<GroupsPageProps> = (props) => {
<Link to={'/enroll?groupPath=' + encodeURI(groupMembership?.group?.path)}><Button>Update Membership</Button></Link>
<Button variant="danger" onClick={() => {
setModalInfo({
title: "Confirmation",
accept_message: "LEAVE",
cancel_message: "CANCEL",
title: (Msg.localize('leaveGroup') + "?"),
button_variant: "danger",
accept_message: "Leave",
cancel_message: "Cancel",
message: (Msg.localize('leaveGroupConfirmation')),
accept: function () {
leaveGroup();
Expand Down

0 comments on commit c93c8af

Please sign in to comment.