Skip to content

Commit

Permalink
fix(resource): I should not join my own circle
Browse files Browse the repository at this point in the history
  • Loading branch information
NewMeeh committed Jan 31, 2024
1 parent 232adda commit d120a27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/app/pages/resources/resource/resource.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
context.user?.role !== 'admin' &&
context.resource.type === 'CIRCLE' &&
!context.resource.permissions.member &&
!context.resource.permissions.waiting
!context.resource.permissions.waiting &&
context.resource.ownerId !== context.user?.id
"
nz-button
nzType="default"
Expand Down

0 comments on commit d120a27

Please sign in to comment.