feat(frontend): add links to admin streams and users

This commit is contained in:
Gergő Jedlicska
2021-11-29 16:44:09 +01:00
parent 6b79bb1ccd
commit 2cb6ba3eba
2 changed files with 11 additions and 5 deletions
@@ -65,14 +65,18 @@
</div>
</v-card-subtitle>
<v-list v-if="!$apollo.loading" rounded>
<v-list-item-group>
<v-list-item-group class="ml-6">
<v-list-item v-for="stream in adminStreams.items" :key="stream.id" two-line>
<v-list-item-content>
<v-list-item-title>{{ stream.name }}</v-list-item-title>
<v-list-item-subtitle>
<v-list-item-title>
<router-link class="text-h6" :to="`/streams/${stream.id}`" target="_blank">
{{ stream.name }}
</router-link>
</v-list-item-title>
<v-list-item-subtitle class="mx-2">
{{ stream.description ? stream.description : 'Stream has no description' }}
</v-list-item-subtitle>
<div class="mt-2">
<div class="mt-1 ml-1">
<v-chip small>
<v-icon small>
{{ stream.isPublic ? 'mdi-lock-open-variant-outline' : 'mdi-lock-outline' }}
@@ -27,7 +27,9 @@
</v-list-item-avatar>
<v-list-item-content>
<v-list-item-title>
{{ user.name }}
<router-link class="text-h6" :to="`/profile/${user.id}`" target="_blank">
{{ user.name }}
</router-link>
</v-list-item-title>
<span class="caption">