Commit 73234ac5 authored by mgabdev's avatar mgabdev

Updated ListsPanel to return null if no lists

• Updated:
- ListsPanel to return null if no lists
parent 5951e0dc
......@@ -70,6 +70,8 @@ class ListsPanel extends ImmutablePureComponent {
const count = !!lists ? lists.count() : 0
if (count === 0 && fetched) return null
const maxCount = 6
const listItems = !!lists && lists.slice(0, maxCount).map((list) => ({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment