1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

props method just modifies props now, doesn't need to return

This commit is contained in:
Toby Zerner
2015-05-18 15:28:04 +09:30
parent 3936cc4e23
commit 73c101b075

View File

@@ -16,7 +16,5 @@ export default class CategoryNavItem extends NavItem {
props.params.categories = category ? category.slug() : 'uncategorized';
props.href = app.route('category', props.params);
props.label = category ? category.title() : 'Uncategorized';
return props;
}
}