fix
This commit is contained in:
parent
b7943cac84
commit
be8c5c2532
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"
|
||||
// there is a -2 here
|
||||
const maxDepth = mergedConfig.value.maxDepthInThread - 2
|
||||
return Math.min(1, maxDepth)
|
||||
return Math.max(1, maxDepth)
|
||||
})
|
||||
|
||||
const ancestors = computed(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue