fix(teams): do not show leave button for OIDC teams (#2181)
Hide leave team button if team is created through OIDC. Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com> Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2181 Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de> Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
This commit is contained in:
parent
6e52db76dc
commit
01fb80d7a1
@ -173,6 +173,7 @@
|
|||||||
</card>
|
</card>
|
||||||
|
|
||||||
<x-button
|
<x-button
|
||||||
|
v-if="team && !team.oidcId"
|
||||||
class="is-fullwidth is-danger"
|
class="is-fullwidth is-danger"
|
||||||
@click="showLeaveModal = true"
|
@click="showLeaveModal = true"
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user