mark teams from sso in ListTeams

This commit is contained in:
viehlieb 2023-01-30 14:53:26 +01:00
parent 070b40076d
commit 75d6387e20

View File

@ -12,16 +12,15 @@
</x-button> </x-button>
<h1>{{ $t('team.title') }}</h1> <h1>{{ $t('team.title') }}</h1>
<ul <ul class="teams box" v-if="teams.length > 0">
v-if="teams.length > 0" <li :key="t.id" v-for="t in teams">
class="teams box" <router-link :to="{name: 'teams.edit', params: {id: t.id}}">
> <p v-if="t.oidcId">
<li {{ t.name }}{{ " (sso: " + t.oidcId + ")" }}
v-for="team in teams" </p>
:key="team.id" <p v-else>
> {{ t.name }}
<router-link :to="{name: 'teams.edit', params: {id: team.id}}"> </p>
{{ team.name }}
</router-link> </router-link>
</li> </li>
</ul> </ul>