Remove redundant check
This commit is contained in:
@@ -280,7 +280,6 @@ export function sortAndAnnotateThreadItems(
|
|||||||
* item).
|
* item).
|
||||||
*/
|
*/
|
||||||
const isImplicitlyLastSibling =
|
const isImplicitlyLastSibling =
|
||||||
nextItem === undefined ||
|
|
||||||
metadata.nextItemDepth === undefined ||
|
metadata.nextItemDepth === undefined ||
|
||||||
metadata.nextItemDepth < metadata.depth
|
metadata.nextItemDepth < metadata.depth
|
||||||
|
|
||||||
@@ -297,7 +296,6 @@ export function sortAndAnnotateThreadItems(
|
|||||||
* of this item)
|
* of this item)
|
||||||
*/
|
*/
|
||||||
metadata.isLastChild =
|
metadata.isLastChild =
|
||||||
nextItem === undefined ||
|
|
||||||
metadata.nextItemDepth === undefined ||
|
metadata.nextItemDepth === undefined ||
|
||||||
metadata.nextItemDepth <= metadata.depth
|
metadata.nextItemDepth <= metadata.depth
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user