This commit is contained in:
@@ -69,17 +69,29 @@
|
||||
{{item.description}}
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
<q-item-section side class="text-caption ">
|
||||
<div class="flex items-center column">
|
||||
<div class="flex items-center">
|
||||
<q-icon name="mdi-chat-outline"/>
|
||||
<span>{{ item.chat_count }} </span>
|
||||
<q-item-section side top>
|
||||
<q-item-label lines="1" class="text-caption">
|
||||
<div class="flex items-center">
|
||||
<div class="flex items-center">
|
||||
<q-icon name="mdi-chat-outline"/>
|
||||
<span>{{ item.chat_count }} </span>
|
||||
</div>
|
||||
<div class="flex items-center q-ml-xs">
|
||||
<q-icon name="mdi-account-outline"/>
|
||||
<span>{{ item.user_count }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<q-icon name="mdi-account-outline"/>
|
||||
<span>{{ item.user_count }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</q-item-label>
|
||||
<q-item-label>
|
||||
<q-btn
|
||||
color="grey"
|
||||
size="sm"
|
||||
dense flat round
|
||||
icon="mdi-pencil"
|
||||
class="q-ml-sm"
|
||||
@click.stop="editProject(item.id)"
|
||||
/>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
</q-slide-item>
|
||||
@@ -225,6 +237,10 @@
|
||||
await router.push({ name: 'chats', params: { id }})
|
||||
}
|
||||
|
||||
async function editProject (id: number) {
|
||||
await router.push({ name: 'project_info', params: { id }})
|
||||
}
|
||||
|
||||
async function goAccount () {
|
||||
await router.push({ name: 'account' })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user