mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-28 06:46:13 +03:00
fix: use expansion panel for logs #1420
This commit is contained in:
parent
53fe2e55b6
commit
6979c493ca
1 changed files with 13 additions and 3 deletions
|
@ -115,9 +115,19 @@ onUnmounted(() => {
|
|||
<template v-for="(log, index) in paginatedResults">
|
||||
<v-divider v-if="index > 0" />
|
||||
|
||||
<v-list-item :class="getLogTypeClassName(log)">
|
||||
<v-list-item-title>{{ log.id }}) {{ log.message }}</v-list-item-title>
|
||||
<v-list-item-subtitle>{{ getLogTypeName(log) }} | {{ formatLogTimestamp(log) }}</v-list-item-subtitle>
|
||||
<v-list-item :class="getLogTypeClassName(log)" class="pa-0">
|
||||
<v-expansion-panels class="p-0">
|
||||
<v-expansion-panel class="pa-0">
|
||||
<v-expansion-panel-title>
|
||||
<template v-slot:default>
|
||||
<v-list-item-title>[{{ log.id }}] {{ log.message }}</v-list-item-title>
|
||||
<v-spacer />
|
||||
<v-list-item-subtitle>{{ getLogTypeName(log) }} | {{ formatLogTimestamp(log) }}</v-list-item-subtitle>
|
||||
</template>
|
||||
</v-expansion-panel-title>
|
||||
<v-expansion-panel-text>{{ log.message }}</v-expansion-panel-text>
|
||||
</v-expansion-panel>
|
||||
</v-expansion-panels>
|
||||
</v-list-item>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in a new issue