import _ from 'lodash';
let temp = _.cloneDeep(navItems);
temp.forEach(it => {
if(it.id === id) {
it.open = !it.open;
}
});
import _ from 'lodash';
let temp = _.cloneDeep(navItems);
temp.forEach(it => {
if(it.id === id) {
it.open = !it.open;
}
});