mirror of
https://github.com/flarum/framework.git
synced 2025-05-22 14:49:57 +08:00
Update bower dependencies, fix redraw regression
- In Mithril, `finally` has been removed from promise objects as it is not part of the ES spec. See https://gist.github.com/jish/e9bcd75e391a2b21206b for info on the substitute. - Fix a regression introduced in e5a7013 which broke some redraws
This commit is contained in:
@ -34,6 +34,10 @@ export default function listItems(items) {
|
||||
const active = item.component && item.component.isActive && item.component.isActive(item.props);
|
||||
const className = item.props ? item.props.itemClassName : item.itemClassName;
|
||||
|
||||
if (isListItem) {
|
||||
item.props.key = item.itemName;
|
||||
}
|
||||
|
||||
return [
|
||||
isListItem
|
||||
? item
|
||||
|
Reference in New Issue
Block a user