add title to leave project button (#1583)

This commit is contained in:
AdamRaichu 2024-01-27 12:44:10 -05:00 committed by GitHub
parent 7b9a2167ad
commit da977ccace
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,6 +48,11 @@
<button
class="iconified-button danger-button"
:disabled="props.currentMember?.is_owner"
:title="
props.currentMember?.is_owner
? 'You cannot leave the project if you are the owner!'
: ''
"
@click="leaveProject()"
>
<UserRemoveIcon />