summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e0c4906)
This fixes the untagged view's title
},
setUntaggedView: function () {
},
setUntaggedView: function () {
- if (currentTagFilter !== null) {
- this.resetTagView();
- }
- for (const task of document.getElementsByClassName("task")) {
- if (task.getElementsByClassName("tag").length === 0) {
- task.classList.remove("hide");
- } else {
- task.classList.add("hide");
- }
- }
+ this.setTagFilter({description: "(untagged)", include: task => task.getElementsByClassName("tag").length === 0});