remove extraneous depth field
This commit is contained in:
parent
8222102d01
commit
77cdbdb12a
3 changed files with 17 additions and 13 deletions
|
@ -785,8 +785,9 @@ impl CollabPanel {
|
|||
}
|
||||
let mut collapse_depth = None;
|
||||
for mat in matches {
|
||||
let (depth, channel, path) =
|
||||
let (channel, path) =
|
||||
channel_store.channel_at_index(mat.candidate_id).unwrap();
|
||||
let depth = path.len() - 1;
|
||||
|
||||
let location: ChannelLocation<'_> = (channel.id, path).into();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue