Merge branch 'virtual-scrolling-2.0' into shigusegubu-themes3
This commit is contained in:
commit
980ce4084e
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ export function useTreeConversationTopology(conversation, replies, current) {
|
||||||
// since our depth starts with 0 and "showing" means "showing children"
|
// since our depth starts with 0 and "showing" means "showing children"
|
||||||
// there is a -2 here
|
// there is a -2 here
|
||||||
const maxDepth = mergedConfig.value.maxDepthInThread - 2
|
const maxDepth = mergedConfig.value.maxDepthInThread - 2
|
||||||
return Math.min(1, maxDepth)
|
return Math.max(1, maxDepth)
|
||||||
})
|
})
|
||||||
|
|
||||||
const ancestors = computed(() => {
|
const ancestors = computed(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue