Show one inbox item at a time instead of a scrolling list
This commit is contained in:
Vendored
+1
-1
@@ -42,7 +42,7 @@ export function mountInbox(root) {
|
||||
reconcile(list, [noTask]);
|
||||
return;
|
||||
}
|
||||
reconcile(list, items.length > 0 ? items.map(cardFor) : [nothing]);
|
||||
reconcile(list, items.length > 0 ? [cardFor(items[0])] : [nothing]);
|
||||
};
|
||||
const off = onEach(["inbox", "selection"], render);
|
||||
const changes = h("section", { class: "inbox-changes" });
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user