TF-1436 Show mailbox path in item when search
This commit is contained in:
@@ -162,10 +162,10 @@ abstract class BaseMailboxController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String? findNodePath(MailboxId mailboxId) {
|
String? findNodePath(MailboxId mailboxId) {
|
||||||
var mailboxNodePath = defaultMailboxTree.value.getNodePath(mailboxId);
|
var mailboxNodePath = defaultMailboxTree.value.getNodePath(mailboxId)
|
||||||
if (mailboxNodePath == null) {
|
?? personalMailboxTree.value.getNodePath(mailboxId)
|
||||||
return personalMailboxTree.value.getNodePath(mailboxId);
|
?? teamMailboxesTree.value.getNodePath(mailboxId);
|
||||||
}
|
log('BaseMailboxController::findNodePath():mailboxNodePath: $mailboxNodePath');
|
||||||
return mailboxNodePath;
|
return mailboxNodePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user