Skip to content
Snippets Groups Projects
Commit 96b064b2 authored by Arkerthan's avatar Arkerthan
Browse files

fix null output

parent 55c2ca46
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ App.Reminders.add = function(message, week, category = "manual") {
*/
App.Reminders.list = function list({maxFuture = Number.POSITIVE_INFINITY, category = "all", link = false} = {}) {
if (V.reminders.length === 0) {
return null;
return document.createDocumentFragment();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment