Skip to content

Commit

Permalink
fix duplicate modals
Browse files Browse the repository at this point in the history
  • Loading branch information
HesterG committed Apr 14, 2023
1 parent 1c8bc40 commit 4df0a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/org/team/sidebar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</div>
{{end}}
</div>
<div class="ui small basic delete modal" id="leave-team-sidebar">
<div class="ui small basic delete modal{{if not (.Team.IsMember $.SignedUser.ID)}} gt-hidden{{end}}" id="leave-team-sidebar">
<div class="ui icon header">
{{svg "octicon-x" 16 "close inside"}}
{{$.locale.Tr "org.teams.leave"}}
Expand Down

0 comments on commit 4df0a52

Please sign in to comment.