Fix: 'imag-contact show' should increase output counter
This commit is contained in:
parent
430186799b
commit
6bf49aa6b5
1 changed files with 3 additions and 2 deletions
|
@ -227,8 +227,9 @@ fn show(rt: &Runtime) {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.for_each(|elem| {
|
.enumerate()
|
||||||
let data = build_data_object_for_handlebars(0, &elem);
|
.for_each(|(i, elem)| {
|
||||||
|
let data = build_data_object_for_handlebars(i, &elem);
|
||||||
|
|
||||||
let s = show_format
|
let s = show_format
|
||||||
.render("format", &data)
|
.render("format", &data)
|
||||||
|
|
Loading…
Reference in a new issue