projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0216773
)
Set person_id to myId in handleLeaveModTeam (#1929)
author
Lionir
<git@thelion.website>
Thu, 13 Jul 2023 02:26:21 +0000
(22:26 -0400)
committer
GitHub
<noreply@github.com>
Thu, 13 Jul 2023 02:26:21 +0000
(22:26 -0400)
src/shared/components/community/sidebar.tsx
patch
|
blob
|
history
diff --git
a/src/shared/components/community/sidebar.tsx
b/src/shared/components/community/sidebar.tsx
index 9f7eff2a87fff925bd8d7e422a8cd09a8a6a18fc..ec454de182a38def673dbad66e8c02ad087833d2 100644
(file)
--- a/
src/shared/components/community/sidebar.tsx
+++ b/
src/shared/components/community/sidebar.tsx
@@
-573,7
+573,7
@@
export class Sidebar extends Component<SidebarProps, SidebarState> {
i.setState({ leaveModTeamLoading: true });
i.props.onLeaveModTeam({
community_id: i.props.community_view.community.id,
- person_id:
92
,
+ person_id:
myId
,
added: false,
auth: myAuthRequired(),
});