rename entry to item
This commit is contained in:
parent
b65eaac62d
commit
5b34c2607d
|
@ -61,9 +61,9 @@ impl SectionConfigData {
|
||||||
let mut list: Vec<Value> = vec![];
|
let mut list: Vec<Value> = vec![];
|
||||||
|
|
||||||
for (section_id, (_, data)) in &self.sections {
|
for (section_id, (_, data)) in &self.sections {
|
||||||
let mut entry = data.clone();
|
let mut item = data.clone();
|
||||||
entry.as_object_mut().unwrap().insert(id_prop.into(), section_id.clone().into());
|
item.as_object_mut().unwrap().insert(id_prop.into(), section_id.clone().into());
|
||||||
list.push(entry);
|
list.push(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
list.into()
|
list.into()
|
||||||
|
|
Loading…
Reference in New Issue