Fix bug in use of breadcrumbs in new_breadcrumbs_partial.

This commit is contained in:
Tom Alexander 2020-06-06 17:56:54 -04:00
parent e725728a65
commit c5b927ca11
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -291,7 +291,7 @@ impl<'a> DustRenderer<'a> {
// TODO: should resolving the value here use
// explicit_context_maybe_breadcrumbs or
// maybe_breadcrumbs?
walk_path(maybe_breadcrumbs, &path.keys)
walk_path(explicit_context_maybe_breadcrumbs, &path.keys)
.map(|ice| ice.into_context_element(self, maybe_breadcrumbs))
.ok()
.flatten()